diff --git a/rpc/types.go b/rpc/types.go
index 549268cce3f68128f0fc4f8337453c4606f99df0..2d0cf53be68ff775e5d3761819d859e3f456985b 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: