mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-05-02 06:12:56 +00:00
Fix duplicate leading 0x
This commit is contained in:
parent
4142708d9d
commit
2a7ca69a82
1 changed files with 1 additions and 1 deletions
|
|
@ -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()
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue