mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-07-18 19:00:46 +00:00
Merge 13e3226b9f into dddbaa4bf3
This commit is contained in:
commit
851da6305b
1 changed files with 1 additions and 0 deletions
|
|
@ -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)
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue