diff options
author | Taylor Gerring <taylor.gerring@gmail.com> | 2015-05-15 01:17:19 +0800 |
---|---|---|
committer | Taylor Gerring <taylor.gerring@gmail.com> | 2015-05-15 01:17:19 +0800 |
commit | 4ad8f1035b41260aafc5a20218333403bb271090 (patch) | |
tree | c4601c5cb3d261e81456f72a78d106f17e41feb9 /rpc | |
parent | f7fdb4dfbe1a0851b6fb2970b0a6b11fd31273d6 (diff) | |
download | dexon-4ad8f1035b41260aafc5a20218333403bb271090.tar dexon-4ad8f1035b41260aafc5a20218333403bb271090.tar.gz dexon-4ad8f1035b41260aafc5a20218333403bb271090.tar.bz2 dexon-4ad8f1035b41260aafc5a20218333403bb271090.tar.lz dexon-4ad8f1035b41260aafc5a20218333403bb271090.tar.xz dexon-4ad8f1035b41260aafc5a20218333403bb271090.tar.zst dexon-4ad8f1035b41260aafc5a20218333403bb271090.zip |
Format contract code as hexdata
Diffstat (limited to 'rpc')
-rw-r--r-- | rpc/api.go | 1 |
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": |