aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJeffrey Wilcke <jeffrey@ethereum.org>2015-05-15 01:38:01 +0800
committerJeffrey Wilcke <jeffrey@ethereum.org>2015-05-15 01:38:01 +0800
commit69c78ddbb4a99858780668988831ae000198ef22 (patch)
tree3a7e09aa3515959ba390c99c9f7a35e272ea821c
parent007bced276128213c4c8048b90da2ced3816f32b (diff)
parent4ad8f1035b41260aafc5a20218333403bb271090 (diff)
downloaddexon-69c78ddbb4a99858780668988831ae000198ef22.tar
dexon-69c78ddbb4a99858780668988831ae000198ef22.tar.gz
dexon-69c78ddbb4a99858780668988831ae000198ef22.tar.bz2
dexon-69c78ddbb4a99858780668988831ae000198ef22.tar.lz
dexon-69c78ddbb4a99858780668988831ae000198ef22.tar.xz
dexon-69c78ddbb4a99858780668988831ae000198ef22.tar.zst
dexon-69c78ddbb4a99858780668988831ae000198ef22.zip
Merge pull request #983 from tgerring/issue958
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":