node: feature flag for legacy p2p support (#6056)

This commit is contained in:
Erik Grinaker
2021-02-16 11:57:16 -05:00
committed by GitHub
parent 16bbe8c862
commit b6be889b97
4 changed files with 286 additions and 51 deletions
+2
View File
@@ -71,8 +71,10 @@ func waitForNode(node *e2e.Node, height int64, timeout time.Duration) (*rpctypes
if err != nil {
return nil, err
}
ctx, cancel := context.WithTimeout(context.Background(), timeout)
defer cancel()
for {
status, err := client.Status(ctx)
switch {