diff options
Diffstat (limited to 'accounts/abi/abi.go')
-rw-r--r-- | accounts/abi/abi.go | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/accounts/abi/abi.go b/accounts/abi/abi.go index e7cf4aac7..cce89de1b 100644 --- a/accounts/abi/abi.go +++ b/accounts/abi/abi.go @@ -316,6 +316,8 @@ func set(dst, src reflect.Value, output Argument) error { return fmt.Errorf("abi: cannot unmarshal src (len=%d) in to dst (len=%d)", output.Type.SliceSize, dst.Len()) } reflect.Copy(dst, src) + case dstType.Kind() == reflect.Interface: + dst.Set(src) default: return fmt.Errorf("abi: cannot unmarshal %v in to %v", src.Type(), dst.Type()) } |