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

pull/2383/head
Péter Szilágyi 9 years ago
parent c2bbff6116
commit 4ab593c5a1
  1. 4
      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" {

Loading…
Cancel
Save