diff --git a/accounts/abi/type.go b/accounts/abi/type.go index 2fd11ac123..e000f57bed 100644 --- a/accounts/abi/type.go +++ b/accounts/abi/type.go @@ -222,6 +222,7 @@ func NewType(t string, internalType string, components []ArgumentMarshaling) (ty if strings.HasPrefix(internalType, "contract ") { typ.Size = 20 typ.T = AddressTy + typ.stringKind = "address" } else { return Type{}, fmt.Errorf("unsupported arg type: %s", t) }