aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTaylor Gerring <taylor.gerring@gmail.com>2015-05-15 01:17:19 +0800
committerTaylor Gerring <taylor.gerring@gmail.com>2015-05-15 01:17:19 +0800
commit4ad8f1035b41260aafc5a20218333403bb271090 (patch)
treec4601c5cb3d261e81456f72a78d106f17e41feb9
parentf7fdb4dfbe1a0851b6fb2970b0a6b11fd31273d6 (diff)
downloaddexon-4ad8f1035b41260aafc5a20218333403bb271090.tar.gz
dexon-4ad8f1035b41260aafc5a20218333403bb271090.tar.zst
dexon-4ad8f1035b41260aafc5a20218333403bb271090.zip
Format contract code as hexdata
-rw-r--r--rpc/api.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/rpc/api.go b/rpc/api.go
index 066c81222..b59253ef7 100644
--- a/rpc/api.go
+++ b/rpc/api.go
@@ -349,6 +349,7 @@ func (api *EthereumApi) GetRequestReply(req *RpcRequest, reply *interface{}) err
if err != nil {
return err
}
+ contract.Code = newHexData(contract.Code).String()
*reply = contract
case "eth_newFilter":