Fix lint warning about ignored err assignment

Signed-off-by: Brian Meek <brian@hntlabs.com>
This commit is contained in:
Brian Meek 2023-02-07 09:17:09 -08:00
parent b19342ecee
commit c0d986fdb1
No known key found for this signature in database
GPG key ID: ACBD71263BF42D00

View file

@ -106,6 +106,9 @@ func (s *accountDataStatements) SelectAccountDataInRange(
filter.Types, filter.NotTypes,
[]string{}, nil, filter.Limit, FilterOrderAsc)
if err != nil {
return
}
rows, err := stmt.QueryContext(ctx, params...)
if err != nil {
return