Format contract code as hexdata

This commit is contained in:
Taylor Gerring 2015-05-14 12:17:19 -05:00
parent f7fdb4dfbe
commit 4ad8f1035b

View File

@ -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":