p2p: use correct transport configuration (#7152)

This commit is contained in:
Sam Kleinman
2021-10-25 07:19:20 -04:00
committed by GitHub
parent 0d68161cc8
commit 23be048294
6 changed files with 98 additions and 13 deletions
+1 -3
View File
@@ -70,9 +70,7 @@ func waitForHeight(ctx context.Context, testnet *e2e.Testnet, height int64) (*ty
clients[node.Name] = client
}
wctx, cancel := context.WithTimeout(ctx, 10*time.Second)
defer cancel()
result, err := client.Status(wctx)
result, err := client.Status(ctx)
if err != nil {
continue
}