erigon-pulse/cmd/rpcdaemon/commands/net_version.go
Evgeny Danilenko 5d39fe8873
RPCDeamon coinbase, net_version (#911)
* use eth.backend

* net_version

* add coinbase to the console test
2020-08-12 14:47:59 +01:00

10 lines
138 B
Go

package commands
import (
"context"
)
func (api *APIImpl) NetVersion(_ context.Context) uint64 {
return api.ethBackend.NetVersion()
}