erigon-pulse/cmd/rpcdaemon/commands/net_version.go

10 lines
138 B
Go
Raw Normal View History

package commands
import (
"context"
)
2020-08-17 15:27:29 +00:00
func (api *NetAPIImpl) Version(_ context.Context) uint64 {
return api.ethBackend.NetVersion()
}