aboutsummaryrefslogtreecommitdiffstats
path: root/rpc
diff options
context:
space:
mode:
Diffstat (limited to 'rpc')
-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()