aboutsummaryrefslogtreecommitdiffstats
path: root/rpc
diff options
context:
space:
mode:
authorTaylor Gerring <taylor.gerring@gmail.com>2015-03-04 21:54:10 +0800
committerTaylor Gerring <taylor.gerring@gmail.com>2015-03-04 21:54:10 +0800
commitc92e48ce3f9de2196a713b24d5c27d6c664826d9 (patch)
tree811cc5ab68778c4d26550a80e950a0aad361b06a /rpc
parente7b33e9ae796cd0ba4c840ee3fead85132ebdccd (diff)
downloaddexon-c92e48ce3f9de2196a713b24d5c27d6c664826d9.tar.gz
dexon-c92e48ce3f9de2196a713b24d5c27d6c664826d9.tar.zst
dexon-c92e48ce3f9de2196a713b24d5c27d6c664826d9.zip
Add client_version RPC message
Diffstat (limited to 'rpc')
-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)
}