From 027b80f5af5b3aebdb09b395ec04d64c6bf48e38 Mon Sep 17 00:00:00 2001 From: Anton Evangelatov Date: Fri, 3 Jul 2020 21:27:47 +0200 Subject: [PATCH] revert soup main.go --- lotus-soup/main.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lotus-soup/main.go b/lotus-soup/main.go index d69285a1d..7c31f0afd 100644 --- a/lotus-soup/main.go +++ b/lotus-soup/main.go @@ -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 }