diff options
Diffstat (limited to 'accounts/abi/packing.go')
-rw-r--r-- | accounts/abi/packing.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/accounts/abi/packing.go b/accounts/abi/packing.go index 0c37edf17..5054dcf13 100644 --- a/accounts/abi/packing.go +++ b/accounts/abi/packing.go @@ -54,7 +54,7 @@ func packElement(t Type, reflectValue reflect.Value) []byte { reflectValue = mustArrayToByteSlice(reflectValue) } return packBytesSlice(reflectValue.Bytes(), reflectValue.Len()) - case FixedBytesTy: + case FixedBytesTy, FunctionTy: if reflectValue.Kind() == reflect.Array { reflectValue = mustArrayToByteSlice(reflectValue) } |