aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTaylor Gerring <taylor.gerring@gmail.com>2015-02-24 23:46:43 +0800
committerTaylor Gerring <taylor.gerring@gmail.com>2015-02-24 23:46:43 +0800
commit2a7ca69a8260b887a309e1c43a74b4e644c391fa (patch)
tree90df72bb759e5d187777ea5a4a4870816d184ffe
parent4142708d9d30a38c3071b895b2c42f8723830fb1 (diff)
downloadgo-tangerine-2a7ca69a8260b887a309e1c43a74b4e644c391fa.tar.gz
go-tangerine-2a7ca69a8260b887a309e1c43a74b4e644c391fa.tar.zst
go-tangerine-2a7ca69a8260b887a309e1c43a74b4e644c391fa.zip
Fix duplicate leading 0x
-rw-r--r--rpc/packages.go2
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()