Skip to content

Commit

Permalink
remove extra rows.Close()
Browse files Browse the repository at this point in the history
  • Loading branch information
ClaytonNorthey92 committed Dec 18, 2024
1 parent 6f54d81 commit 7a1f2f8
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions database/bfgd/postgres/postgres.go
Original file line number Diff line number Diff line change
Expand Up @@ -691,8 +691,6 @@ func (p *pgdb) L2BTCFinalityByL2KeystoneAbrevHash(ctx context.Context, l2Keyston
return nil, rows.Err()
}

rows.Close() // can be called more than once

return finalities, nil
}

Expand Down

0 comments on commit 7a1f2f8

Please sign in to comment.