This commit is contained in:
Taylor Gerring 2015-04-01 17:49:22 +02:00
parent 1045015a3c
commit eac4d582d7

View File

@ -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: