mirror of
https://github.com/lightninglabs/loop.git
synced 2026-08-13 12:33:03 +02:00
sweepbatcher: fix mistake in batch reading from DB
This commit is contained in:
parent
c036c2adbd
commit
cb7c31c1b9
1 changed files with 1 additions and 1 deletions
|
|
@ -259,7 +259,7 @@ func convertBatchRow(row sqlc.SweepBatch) *dbBatch {
|
|||
}
|
||||
|
||||
if row.Confirmed {
|
||||
batch.State = batchOpen
|
||||
batch.State = batchConfirmed
|
||||
}
|
||||
|
||||
if row.BatchTxID.Valid {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue