remove useless todo in v2 template

This commit is contained in:
Jared Wasinger 2025-01-06 19:54:19 +07:00 committed by Felix Lange
parent 64c13eb2b9
commit a934729c2d

View file

@ -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