mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-02-26 15:47:21 +00:00
There is currently no simple way to obtain the network ID from a Client. This adds a NetworkID method that wraps the net_version JSON-RPC call. |
||
|---|---|---|
| .. | ||
| ethclient.go | ||
| ethclient_test.go | ||