From 9eddba42baf8d16ea0338f8274aca09a7c21043b Mon Sep 17 00:00:00 2001 From: Jared Wasinger Date: Mon, 17 Feb 2025 13:26:24 -0800 Subject: [PATCH] accounts/abi/abigen: remove unused template helper function --- accounts/abi/abigen/bindv2.go | 11 ++++------- 1 file changed, 4 insertions(+), 7 deletions(-) diff --git a/accounts/abi/abigen/bindv2.go b/accounts/abi/abigen/bindv2.go index b5583b44c9..d465327973 100644 --- a/accounts/abi/abigen/bindv2.go +++ b/accounts/abi/abigen/bindv2.go @@ -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, }