diff options
author | Taylor Gerring <taylor.gerring@gmail.com> | 2015-02-24 23:46:43 +0800 |
---|---|---|
committer | Taylor Gerring <taylor.gerring@gmail.com> | 2015-02-24 23:46:43 +0800 |
commit | 2a7ca69a8260b887a309e1c43a74b4e644c391fa (patch) | |
tree | 90df72bb759e5d187777ea5a4a4870816d184ffe | |
parent | 4142708d9d30a38c3071b895b2c42f8723830fb1 (diff) | |
download | dexon-2a7ca69a8260b887a309e1c43a74b4e644c391fa.tar.gz dexon-2a7ca69a8260b887a309e1c43a74b4e644c391fa.tar.zst dexon-2a7ca69a8260b887a309e1c43a74b4e644c391fa.zip |
Fix duplicate leading 0x
-rw-r--r-- | rpc/packages.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/rpc/packages.go b/rpc/packages.go index 4056494de..e48005d89 100644 --- a/rpc/packages.go +++ b/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() |