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