Patches
This commit is contained in:
1 parent
1045015a3c
commit
eac4d582d7
1 file changed
+3
-2
+3
-2
@@ -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:
|
||||
|
||||
Reference in new issue
Block a user