From 4ab593c5a1542570d4b19656cd5630342d899d1e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?P=C3=A9ter=20Szil=C3=A1gyi?= Date: Thu, 31 Mar 2016 12:48:50 +0300 Subject: [PATCH] accounts/abi/bind: support account slices, drop hash type --- accounts/abi/bind/bind.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/accounts/abi/bind/bind.go b/accounts/abi/bind/bind.go index 8b587f1aad..a9f21b21a0 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" {