forked from cerc-io/plugeth
parent
ae42148093
commit
bc90a88263
@ -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 New Issue
Block a user