about summary refs log tree commit diff
path: root/nixos/tests/geth.nix
diff options
context:
space:
mode:
Diffstat (limited to 'nixos/tests/geth.nix')
-rw-r--r--nixos/tests/geth.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/nixos/tests/geth.nix b/nixos/tests/geth.nix
index 10cbd6d9038ca..af8230553bbbb 100644
--- a/nixos/tests/geth.nix
+++ b/nixos/tests/geth.nix
@@ -31,7 +31,7 @@ import ./make-test-python.nix ({ pkgs, ... }: {
     machine.wait_for_open_port(18545)
 
     machine.succeed(
-        'geth attach --exec "eth.chainId()" http://localhost:8545 | grep \'"0x0"\' '
+        'geth attach --exec eth.blockNumber http://localhost:8545 | grep \'^0$\' '
     )
 
     machine.succeed(