mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-08-13 15:33:47 +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)
|
buffer := new(bytes.Buffer)
|
||||||
funcs := map[string]interface{}{
|
funcs := map[string]interface{}{
|
||||||
"bindtype": bindType,
|
"bindtype": bindType,
|
||||||
"bindtopictype": bindTopicType,
|
"bindtopictype": bindTopicType,
|
||||||
"capitalise": abi.ToCamelCase,
|
"capitalise": abi.ToCamelCase,
|
||||||
"decapitalise": decapitalise,
|
"decapitalise": decapitalise,
|
||||||
"add": func(val1, val2 int) int {
|
|
||||||
return val1 + val2
|
|
||||||
},
|
|
||||||
"ispointertype": isPointerType,
|
"ispointertype": isPointerType,
|
||||||
"underlyingbindtype": underlyingBindType,
|
"underlyingbindtype": underlyingBindType,
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue