diff options
author | Taylor Gerring <taylor.gerring@gmail.com> | 2015-04-01 23:49:22 +0800 |
---|---|---|
committer | Taylor Gerring <taylor.gerring@gmail.com> | 2015-04-01 23:49:22 +0800 |
commit | eac4d582d7bfe427d4bf5c738e38f1f9861cd30a (patch) | |
tree | 3bace4da802561d0e02b52141830ad0187069642 | |
parent | 1045015a3c8df048d80c0f66598a8a8fa09b2f71 (diff) | |
download | go-tangerine-eac4d582d7bfe427d4bf5c738e38f1f9861cd30a.tar go-tangerine-eac4d582d7bfe427d4bf5c738e38f1f9861cd30a.tar.gz go-tangerine-eac4d582d7bfe427d4bf5c738e38f1f9861cd30a.tar.bz2 go-tangerine-eac4d582d7bfe427d4bf5c738e38f1f9861cd30a.tar.lz go-tangerine-eac4d582d7bfe427d4bf5c738e38f1f9861cd30a.tar.xz go-tangerine-eac4d582d7bfe427d4bf5c738e38f1f9861cd30a.tar.zst go-tangerine-eac4d582d7bfe427d4bf5c738e38f1f9861cd30a.zip |
Patches
-rw-r--r-- | rpc/types.go | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/rpc/types.go b/rpc/types.go index 549268cce..2d0cf53be 100644 --- a/rpc/types.go +++ b/rpc/types.go @@ -47,6 +47,7 @@ func newHexData(input interface{}) *hexdata { if input == nil { d.data = nil + return d } switch input := input.(type) { case []byte: @@ -57,8 +58,8 @@ func newHexData(input interface{}) *hexdata { d.data = input.Bytes() case common.Address: d.data = input.Bytes() - case *common.Address: - d.data = input.Bytes() + // case *common.Address: + // d.data = input.Bytes() case *big.Int: d.data = input.Bytes() case int64: |