Fix duplicate leading 0x

release/1.0.1
Taylor Gerring 10 years ago
parent 4142708d9d
commit 2a7ca69a82
  1. 2
      rpc/packages.go

@ -525,7 +525,7 @@ func (p *EthereumApi) GetRequestReply(req *RpcRequest, reply *interface{}) error
}
return p.AllLogs(args, reply)
case "eth_gasPrice":
*reply = "0x" + toHex(p.defaultGasPrice.Bytes())
*reply = toHex(p.defaultGasPrice.Bytes())
return nil
case "eth_register":
args, err := req.ToRegisterArgs()

Loading…
Cancel
Save