mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-07-28 07:36:44 +00:00
accounts/abi/abigen: remove unused template helper function
This commit is contained in:
parent
a9b2384c19
commit
9eddba42ba
1 changed files with 4 additions and 7 deletions
|
|
@ -353,13 +353,10 @@ func BindV2(types []string, abis []string, bytecodes []string, pkg string, libs
|
|||
}
|
||||
buffer := new(bytes.Buffer)
|
||||
funcs := map[string]interface{}{
|
||||
"bindtype": bindType,
|
||||
"bindtopictype": bindTopicType,
|
||||
"capitalise": abi.ToCamelCase,
|
||||
"decapitalise": decapitalise,
|
||||
"add": func(val1, val2 int) int {
|
||||
return val1 + val2
|
||||
},
|
||||
"bindtype": bindType,
|
||||
"bindtopictype": bindTopicType,
|
||||
"capitalise": abi.ToCamelCase,
|
||||
"decapitalise": decapitalise,
|
||||
"ispointertype": isPointerType,
|
||||
"underlyingbindtype": underlyingBindType,
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue