Skip to content

Commit f92c4dc

Browse files
authored
Merge pull request lightningdevkit#3524 from TheBlueMatt/2025-01-spurious-assert
Drop spurious debug assertion in sweeping logic
2 parents c25dfaf + 0282b0d commit f92c4dc

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

lightning/src/util/sweep.rs

-1
Original file line numberDiff line numberDiff line change
@@ -173,7 +173,6 @@ impl OutputSpendStatus {
173173
latest_broadcast_height,
174174
..
175175
} => {
176-
debug_assert!(confirmation_height >= *latest_broadcast_height);
177176
*self = Self::PendingThresholdConfirmations {
178177
first_broadcast_hash: *first_broadcast_hash,
179178
latest_broadcast_height: *latest_broadcast_height,

0 commit comments

Comments
 (0)