sweepbatcher: fix mistake in batch reading from DB

This commit is contained in:
Boris Nagaev 2025-04-08 18:30:35 -03:00
parent c036c2adbd
commit cb7c31c1b9
No known key found for this signature in database

View file

@ -259,7 +259,7 @@ func convertBatchRow(row sqlc.SweepBatch) *dbBatch {
}
if row.Confirmed {
batch.State = batchOpen
batch.State = batchConfirmed
}
if row.BatchTxID.Valid {