Skip to content

Commit

Permalink
Merge pull request lightningdevkit#3524 from TheBlueMatt/2025-01-spur…
Browse files Browse the repository at this point in the history
…ious-assert

Drop spurious debug assertion in sweeping logic
  • Loading branch information
tnull authored Jan 13, 2025
2 parents c25dfaf + 0282b0d commit f92c4dc
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion lightning/src/util/sweep.rs
Original file line number Diff line number Diff line change
Expand Up @@ -173,7 +173,6 @@ impl OutputSpendStatus {
latest_broadcast_height,
..
} => {
debug_assert!(confirmation_height >= *latest_broadcast_height);
*self = Self::PendingThresholdConfirmations {
first_broadcast_hash: *first_broadcast_hash,
latest_broadcast_height: *latest_broadcast_height,
Expand Down

0 comments on commit f92c4dc

Please sign in to comment.