diff --git a/accounts/abi/bind/bind.go b/accounts/abi/bind/bind.go index 4de1b623de..d54f5e7509 100644 --- a/accounts/abi/bind/bind.go +++ b/accounts/abi/bind/bind.go @@ -486,10 +486,6 @@ func namedTypeJava(javaKind string, solKind abi.Type) string { // alias returns an alias of the given string based on the aliasing rules // or returns itself if no rule is matched. func alias(aliases map[string]string, n string) string { - // Short circuit if aliasing rule is empty - if aliases == nil { - return n - } if alias, exist := aliases[n]; exist { return alias }