mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-05-15 12:36:48 +00:00
accounts/abi/bind: support account slices, drop hash type
This commit is contained in:
parent
c2bbff6116
commit
4ab593c5a1
1 changed files with 2 additions and 2 deletions
|
|
@ -125,8 +125,8 @@ func bindType(kind abi.Type) string {
|
||||||
case stringKind == "address":
|
case stringKind == "address":
|
||||||
return "common.Address"
|
return "common.Address"
|
||||||
|
|
||||||
case stringKind == "hash":
|
case stringKind == "address[]":
|
||||||
return "common.Hash"
|
return "[]common.Address"
|
||||||
|
|
||||||
case strings.HasPrefix(stringKind, "bytes"):
|
case strings.HasPrefix(stringKind, "bytes"):
|
||||||
if stringKind == "bytes" {
|
if stringKind == "bytes" {
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue