mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-05-24 00:39:26 +00:00
Format contract code as hexdata
This commit is contained in:
parent
f7fdb4dfbe
commit
4ad8f1035b
1 changed files with 1 additions and 0 deletions
|
|
@ -349,6 +349,7 @@ func (api *EthereumApi) GetRequestReply(req *RpcRequest, reply *interface{}) err
|
||||||
if err != nil {
|
if err != nil {
|
||||||
return err
|
return err
|
||||||
}
|
}
|
||||||
|
contract.Code = newHexData(contract.Code).String()
|
||||||
*reply = contract
|
*reply = contract
|
||||||
|
|
||||||
case "eth_newFilter":
|
case "eth_newFilter":
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue