Skip to content

Commit 9eddba4

Browse files
committed
accounts/abi/abigen: remove unused template helper function
1 parent a9b2384 commit 9eddba4

File tree

1 file changed

+4
-7
lines changed

1 file changed

+4
-7
lines changed

accounts/abi/abigen/bindv2.go

Lines changed: 4 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -353,13 +353,10 @@ func BindV2(types []string, abis []string, bytecodes []string, pkg string, libs
353353
}
354354
buffer := new(bytes.Buffer)
355355
funcs := map[string]interface{}{
356-
"bindtype": bindType,
357-
"bindtopictype": bindTopicType,
358-
"capitalise": abi.ToCamelCase,
359-
"decapitalise": decapitalise,
360-
"add": func(val1, val2 int) int {
361-
return val1 + val2
362-
},
356+
"bindtype": bindType,
357+
"bindtopictype": bindTopicType,
358+
"capitalise": abi.ToCamelCase,
359+
"decapitalise": decapitalise,
363360
"ispointertype": isPointerType,
364361
"underlyingbindtype": underlyingBindType,
365362
}

0 commit comments

Comments
 (0)