Add client_version RPC message

This commit is contained in:
Taylor Gerring
2015-03-04 07:54:10 -06:00
parent e7b33e9ae7
commit c92e48ce3f
3 changed files with 11 additions and 1 deletions

View File

@ -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)
}