From cb7c31c1b94488769cc83a8794f930031411f52d Mon Sep 17 00:00:00 2001 From: Boris Nagaev Date: Tue, 8 Apr 2025 18:30:35 -0300 Subject: [PATCH] sweepbatcher: fix mistake in batch reading from DB --- sweepbatcher/store.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sweepbatcher/store.go b/sweepbatcher/store.go index 01b9e74a..bb245e5f 100644 --- a/sweepbatcher/store.go +++ b/sweepbatcher/store.go @@ -259,7 +259,7 @@ func convertBatchRow(row sqlc.SweepBatch) *dbBatch { } if row.Confirmed { - batch.State = batchOpen + batch.State = batchConfirmed } if row.BatchTxID.Valid {