mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-05-19 22:40:31 +00:00
parent
ae42148093
commit
bc90a88263
1 changed files with 1 additions and 1 deletions
|
|
@ -320,7 +320,7 @@ func (ec *Client) SubscribeNewHead(ctx context.Context, ch chan<- *types.Header)
|
||||||
|
|
||||||
// State Access
|
// State Access
|
||||||
|
|
||||||
// NetworkID returns the network ID (also known as the chain ID) for this chain.
|
// NetworkID returns the network ID for this client.
|
||||||
func (ec *Client) NetworkID(ctx context.Context) (*big.Int, error) {
|
func (ec *Client) NetworkID(ctx context.Context) (*big.Int, error) {
|
||||||
version := new(big.Int)
|
version := new(big.Int)
|
||||||
var ver string
|
var ver string
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue