Skip to content

Commit

Permalink
#612 rename eth_protocol method
Browse files Browse the repository at this point in the history
  • Loading branch information
tgerring committed Apr 1, 2015
1 parent 86ba743 commit 02fb837
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion rpc/api.go
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ func (api *EthereumApi) GetRequestReply(req *RpcRequest, reply *interface{}) err
case "net_peerCount":
v := api.xeth().PeerCount()
*reply = common.ToHex(big.NewInt(int64(v)).Bytes())
case "eth_version":
case "eth_protocolVersion":
*reply = api.xeth().EthVersion()
case "eth_coinbase":
// TODO handling of empty coinbase due to lack of accounts
Expand Down

0 comments on commit 02fb837

Please sign in to comment.