From a934729c2d49444128e574980f5f1ebe1a3b0b9a Mon Sep 17 00:00:00 2001 From: Jared Wasinger Date: Mon, 6 Jan 2025 19:54:19 +0700 Subject: [PATCH] remove useless todo in v2 template --- accounts/abi/bind/source2.go.tpl | 1 - 1 file changed, 1 deletion(-) diff --git a/accounts/abi/bind/source2.go.tpl b/accounts/abi/bind/source2.go.tpl index 809e655396..8f264b75fe 100644 --- a/accounts/abi/bind/source2.go.tpl +++ b/accounts/abi/bind/source2.go.tpl @@ -184,7 +184,6 @@ var ( errName := "{{.Normalized.Name}}" out := new({{$contract.Type}}{{.Normalized.Name}}) if err := _{{$contract.Type}}.abi.UnpackIntoInterface(out, errName, raw); err != nil { - // TODO: output can be non-pointer type. return nil, err } return out, nil