mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-07-19 03:10:48 +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 ") {
|
if strings.HasPrefix(internalType, "contract ") {
|
||||||
typ.Size = 20
|
typ.Size = 20
|
||||||
typ.T = AddressTy
|
typ.T = AddressTy
|
||||||
|
typ.stringKind = "address"
|
||||||
} else {
|
} else {
|
||||||
return Type{}, fmt.Errorf("unsupported arg type: %s", t)
|
return Type{}, fmt.Errorf("unsupported arg type: %s", t)
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue