aboutsummaryrefslogtreecommitdiffstats
path: root/rpc/api.go
diff options
context:
space:
mode:
Diffstat (limited to 'rpc/api.go')
-rw-r--r--rpc/api.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/rpc/api.go b/rpc/api.go
index 19bd9b707..4bc199176 100644
--- a/rpc/api.go
+++ b/rpc/api.go
@@ -62,7 +62,7 @@ func (api *EthereumApi) GetRequestReply(req *RpcRequest, reply *interface{}) err
case "web3_clientVersion":
*reply = api.xeth().Backend().Version()
case "net_version":
- return NewNotImplementedError(req.Method)
+ *reply = string(api.xeth().Backend().ProtocolVersion())
case "net_listening":
*reply = api.xeth().IsListening()
case "net_peerCount":