revert soup main.go
This commit is contained in:
parent
89e413dba7
commit
027b80f5af
@ -59,7 +59,7 @@ func dealsE2E(t *testkit.TestEnvironment) error {
|
|||||||
client := cl.FullApi
|
client := cl.FullApi
|
||||||
|
|
||||||
// select a random miner
|
// select a random miner
|
||||||
minerAddr := cl.MinerAddrs[t.InitContext.GroupSeq-1]
|
minerAddr := cl.MinerAddrs[rand.Intn(len(cl.MinerAddrs))]
|
||||||
if err := client.NetConnect(ctx, minerAddr.PeerAddr); err != nil {
|
if err := client.NetConnect(ctx, minerAddr.PeerAddr); err != nil {
|
||||||
return err
|
return err
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user