e2e: skip light clients when waiting for height (#6891)

This commit is contained in:
Sam Kleinman
2021-09-03 10:19:15 -04:00
committed by GitHub
parent 0055f9efcc
commit 21b5e5931a
+4
View File
@@ -28,6 +28,10 @@ func waitForHeight(testnet *e2e.Testnet, height int64) (*types.Block, *types.Blo
if node.Mode == e2e.ModeSeed {
continue
}
if node.Mode == e2e.ModeLight {
continue
}
client, ok := clients[node.Name]
if !ok {
client, err = node.Client()