File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -3003,7 +3003,9 @@ impl<Signer: EcdsaChannelSigner> ChannelMonitor<Signer> {
3003
3003
// transaction reaches ANTI_REORG_DELAY confirmations.
3004
3004
res. insert( source. clone( ) , htlc. clone( ) ) ;
3005
3005
}
3006
- } else if let Some ( state) = us. htlcs_resolved_on_chain. iter( ) . filter( filter) . next( ) {
3006
+ } else if let Some ( state) =
3007
+ us. htlcs_resolved_on_chain. iter( ) . filter( filter) . next( )
3008
+ {
3007
3009
if let Some ( source) = source {
3008
3010
if state. payment_preimage. is_none( ) {
3009
3011
res. insert( source. clone( ) , htlc. clone( ) ) ;
@@ -3014,7 +3016,6 @@ impl<Signer: EcdsaChannelSigner> ChannelMonitor<Signer> {
3014
3016
} ;
3015
3017
}
3016
3018
3017
-
3018
3019
// We only want HTLCs with ANTI_REORG_DELAY confirmations, which implies the commitment
3019
3020
// transaction has least ANTI_REORG_DELAY confirmations for any dependent HTLC transactions
3020
3021
// to have been confirmed.
You can’t perform that action at this time.
0 commit comments