revert soup main.go

This commit is contained in:
Anton Evangelatov 2020-07-03 21:27:47 +02:00
parent 89e413dba7
commit 027b80f5af

View File

@ -59,7 +59,7 @@ func dealsE2E(t *testkit.TestEnvironment) error {
client := cl.FullApi
// 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 {
return err
}