Skip to content

Commit cb7c31c

Browse files
committed
sweepbatcher: fix mistake in batch reading from DB
1 parent c036c2a commit cb7c31c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

sweepbatcher/store.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -259,7 +259,7 @@ func convertBatchRow(row sqlc.SweepBatch) *dbBatch {
259259
}
260260

261261
if row.Confirmed {
262-
batch.State = batchOpen
262+
batch.State = batchConfirmed
263263
}
264264

265265
if row.BatchTxID.Valid {

0 commit comments

Comments
 (0)