Output hex should be prepended with 0x

This commit is contained in:
Taylor Gerring
2015-03-10 19:10:02 -05:00
parent fda4d02f94
commit 499f816e30
3 changed files with 36 additions and 34 deletions

View File

@@ -455,7 +455,7 @@ func (p *EthereumApi) GetBlockUncleCountByNumber(blocknum int64) (int64, error)
func (p *EthereumApi) GetRequestReply(req *RpcRequest, reply *interface{}) error {
// Spec at https://github.com/ethereum/wiki/wiki/Generic-JSON-RPC
rpclogger.Infof("%s %s", req.Method, req.Params)
rpclogger.Debugf("%s %s", req.Method, req.Params)
switch req.Method {
case "web3_sha3":
args := new(Sha3Args)