Skip to content

Commit 77ef9be

Browse files
committed
fix bug
1 parent 4c524e6 commit 77ef9be

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

accounts/abi/abigen/source2.go.tpl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -132,7 +132,7 @@ var (
132132
{{- if .Structured}}
133133
outstruct := new({{.Normalized.Name}}Output)
134134
if err != nil {
135-
return outstruct, nil
135+
return nil, err
136136
}
137137
{{- range $i, $t := .Normalized.Outputs}}
138138
{{- if ispointertype .Type}}

accounts/abi/bind/v2/internal/contracts/db/bindings.go

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)