From eac4d582d7bfe427d4bf5c738e38f1f9861cd30a Mon Sep 17 00:00:00 2001 From: Taylor Gerring Date: Wed, 1 Apr 2015 17:49:22 +0200 Subject: Patches --- rpc/types.go | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'rpc') 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: -- cgit