Skip to content
Snippets Groups Projects
Commit bca717c9 authored by Robert Martin-Legene's avatar Robert Martin-Legene
Browse files

localstate: agregando network_version (chainId)

parent 51e873ee
No related branches found
No related tags found
No related merge requests found
......@@ -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 )
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment