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, 2 insertions, 0 deletions
diff --git a/rpc/api.go b/rpc/api.go
index 28ec04916..f023709ca 100644
--- a/rpc/api.go
+++ b/rpc/api.go
@@ -668,6 +668,8 @@ func (p *EthereumApi) GetRequestReply(req *RpcRequest, reply *interface{}) error
return err
}
return p.WhisperMessages(args, reply)
+ case "client_version":
+ *reply = p.eth.GetClientVersion()
default:
return NewErrorWithMessage(errNotImplemented, req.Method)
}