diff options
author | Péter Szilágyi <peterke@gmail.com> | 2016-03-31 17:48:50 +0800 |
---|---|---|
committer | Péter Szilágyi <peterke@gmail.com> | 2016-03-31 17:48:50 +0800 |
commit | 4ab593c5a1542570d4b19656cd5630342d899d1e (patch) | |
tree | 15dd9a725f9587e6b93845709118526f225c839b /accounts | |
parent | c2bbff6116891396b44092d27bd68a0fa6f22a6e (diff) | |
download | dexon-4ab593c5a1542570d4b19656cd5630342d899d1e.tar.gz dexon-4ab593c5a1542570d4b19656cd5630342d899d1e.tar.zst dexon-4ab593c5a1542570d4b19656cd5630342d899d1e.zip |
accounts/abi/bind: support account slices, drop hash type
Diffstat (limited to 'accounts')
-rw-r--r-- | accounts/abi/bind/bind.go | 4 |
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" { |