aboutsummaryrefslogtreecommitdiffstats
path: root/accounts/abi/bind/bind.go
diff options
context:
space:
mode:
authorPéter Szilágyi <peterke@gmail.com>2016-04-01 00:29:31 +0800
committerPéter Szilágyi <peterke@gmail.com>2016-04-01 00:29:31 +0800
commit10d3466c934bd425a8c941270749a652a588527d (patch)
treeaebdde92450bb6922e239db41947d159b49e64d8 /accounts/abi/bind/bind.go
parentdb739b506afe89ac2302614b37770bab44768974 (diff)
parent4ab593c5a1542570d4b19656cd5630342d899d1e (diff)
downloaddexon-10d3466c934bd425a8c941270749a652a588527d.tar
dexon-10d3466c934bd425a8c941270749a652a588527d.tar.gz
dexon-10d3466c934bd425a8c941270749a652a588527d.tar.bz2
dexon-10d3466c934bd425a8c941270749a652a588527d.tar.lz
dexon-10d3466c934bd425a8c941270749a652a588527d.tar.xz
dexon-10d3466c934bd425a8c941270749a652a588527d.tar.zst
dexon-10d3466c934bd425a8c941270749a652a588527d.zip
Merge pull request #2383 from karalabe/goabi-exclusions-duplicates
accounts/abi/bind, cmd/abigen: dedup structs, exclude patterns
Diffstat (limited to 'accounts/abi/bind/bind.go')
-rw-r--r--accounts/abi/bind/bind.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/accounts/abi/bind/bind.go b/accounts/abi/bind/bind.go
index 8b587f1aa..a9f21b21a 100644
--- a/accounts/abi/bind/bind.go
+++ b/accounts/abi/bind/bind.go
@@ -125,8 +125,8 @@ func bindType(kind abi.Type) string {
case stringKind == "address":
return "common.Address"
- case stringKind == "hash":
- return "common.Hash"
+ case stringKind == "address[]":
+ return "[]common.Address"
case strings.HasPrefix(stringKind, "bytes"):
if stringKind == "bytes" {