mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-08-15 08:23:46 +00:00
remove useless todo in v2 template
This commit is contained in:
parent
64c13eb2b9
commit
a934729c2d
1 changed files with 0 additions and 1 deletions
|
|
@ -184,7 +184,6 @@ var (
|
||||||
errName := "{{.Normalized.Name}}"
|
errName := "{{.Normalized.Name}}"
|
||||||
out := new({{$contract.Type}}{{.Normalized.Name}})
|
out := new({{$contract.Type}}{{.Normalized.Name}})
|
||||||
if err := _{{$contract.Type}}.abi.UnpackIntoInterface(out, errName, raw); err != nil {
|
if err := _{{$contract.Type}}.abi.UnpackIntoInterface(out, errName, raw); err != nil {
|
||||||
// TODO: output can be non-pointer type.
|
|
||||||
return nil, err
|
return nil, err
|
||||||
}
|
}
|
||||||
return out, nil
|
return out, nil
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue