good morning!!!!

Skip to content
Snippets Groups Projects
Commit 2a7ca69a authored by Taylor Gerring's avatar Taylor Gerring
Browse files

Fix duplicate leading 0x

parent 4142708d
No related branches found
No related tags found
No related merge requests found
...@@ -525,7 +525,7 @@ func (p *EthereumApi) GetRequestReply(req *RpcRequest, reply *interface{}) error ...@@ -525,7 +525,7 @@ func (p *EthereumApi) GetRequestReply(req *RpcRequest, reply *interface{}) error
} }
return p.AllLogs(args, reply) return p.AllLogs(args, reply)
case "eth_gasPrice": case "eth_gasPrice":
*reply = "0x" + toHex(p.defaultGasPrice.Bytes()) *reply = toHex(p.defaultGasPrice.Bytes())
return nil return nil
case "eth_register": case "eth_register":
args, err := req.ToRegisterArgs() args, err := req.ToRegisterArgs()
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment