File tree Expand file tree Collapse file tree 1 file changed +4
-5
lines changed Expand file tree Collapse file tree 1 file changed +4
-5
lines changed Original file line number Diff line number Diff line change @@ -1382,7 +1382,8 @@ impl<Signer: Sign> ChannelMonitor<Signer> {
1382
1382
Some ( ( txid, event. confirmation_threshold ( ) ) )
1383
1383
} else { None }
1384
1384
} ) {
1385
- debug_assert ! ( us. funding_spend_confirmed. is_none( ) , "We have a pending funding spend awaiting confirmation, we can't have confirmed it already!" ) ;
1385
+ debug_assert ! ( us. funding_spend_confirmed. is_none( ) ,
1386
+ "We have a pending funding spend awaiting anti-reorg confirmation, we can't have confirmed it already!" ) ;
1386
1387
confirmed_txid = Some ( txid) ;
1387
1388
pending_commitment_tx_conf_thresh = Some ( conf_thresh) ;
1388
1389
}
@@ -1461,10 +1462,8 @@ impl<Signer: Sign> ChannelMonitor<Signer> {
1461
1462
} ) ;
1462
1463
} else {
1463
1464
// If a counterparty commitment transaction is awaiting confirmation, we
1464
- // should also have a StaticPaymentOutput MaturingOutput event awaiting
1465
- // confirmation with the same height. Not having one implies something has
1466
- // gone terribly wrong with our commitment txid tracking.
1467
- debug_assert ! ( false ) ;
1465
+ // should either have a StaticPaymentOutput MaturingOutput event awaiting
1466
+ // confirmation with the same height or have never met our dust amount.
1468
1467
}
1469
1468
}
1470
1469
found_commitment_tx = true ;
You can’t perform that action at this time.
0 commit comments