diff --git a/bin/localstate.pl b/bin/localstate.pl index 8c2c01c3078a30b2b3036dca6d9ea55ec80c6530..d8e1f3d6f15ecea2ddfec042fd9ffcf9287934b2 100755 --- a/bin/localstate.pl +++ b/bin/localstate.pl @@ -148,6 +148,11 @@ sub rpc return $json->{'result'}; } +my $netversion = rpc( $libbfa, 'net_version' ); +if ( $netversion ) +{ + printf "Running on network number %s\n", $netversion; +} ### syncing ? my $syncing = rpc( $libbfa, 'eth_syncing' ); if ( $syncing )