mirror of https://github.com/status-im/op-geth.git
Patches
This commit is contained in:
parent
1045015a3c
commit
eac4d582d7
|
@ -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:
|
||||
|
|
Loading…
Reference in New Issue