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 | go-tangerine-4ad8f1035b41260aafc5a20218333403bb271090.tar.gz go-tangerine-4ad8f1035b41260aafc5a20218333403bb271090.tar.zst go-tangerine-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": |