Commit 4ab593c5 authored by Péter Szilágyi's avatar Péter Szilágyi

accounts/abi/bind: support account slices, drop hash type

parent c2bbff61
...@@ -125,8 +125,8 @@ func bindType(kind abi.Type) string { ...@@ -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" {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment