Commit 2a7ca69a authored by Taylor Gerring's avatar Taylor Gerring

Fix duplicate leading 0x

parent 4142708d
......@@ -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()
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment