Skip to content

Commit 0d9c49c

Browse files
committed
fix error return format
1 parent 263aef9 commit 0d9c49c

File tree

4 files changed

+13
-13
lines changed

4 files changed

+13
-13
lines changed

accounts/abi/abigen/source2.go.tpl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -145,7 +145,7 @@ var (
145145
out{{$i}} := *abi.ConvertType(out[{{$i}}], new({{bindtype .Type $structs}})).(*{{bindtype .Type $structs}})
146146
{{- end }}
147147
{{- end}}
148-
return {{range $i, $t := .Normalized.Outputs}}out{{$i}}, {{end}} err
148+
return {{range $i, $t := .Normalized.Outputs}}out{{$i}}, {{end}} nil
149149
{{- end}}
150150
}
151151
{{end}}

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

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

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

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

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

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)