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 @@ -2977,7 +2977,9 @@ impl<Signer: EcdsaChannelSigner> ChannelMonitor<Signer> {
2977
2977
// transaction reaches ANTI_REORG_DELAY confirmations.
2978
2978
res. insert( source. clone( ) , htlc. clone( ) ) ;
2979
2979
}
2980
- } else if let Some ( state) = us. htlcs_resolved_on_chain. iter( ) . filter( filter) . next( ) {
2980
+ } else if let Some ( state) =
2981
+ us. htlcs_resolved_on_chain. iter( ) . filter( filter) . next( )
2982
+ {
2981
2983
if let Some ( source) = source {
2982
2984
if state. payment_preimage. is_none( ) {
2983
2985
res. insert( source. clone( ) , htlc. clone( ) ) ;
@@ -2988,7 +2990,6 @@ impl<Signer: EcdsaChannelSigner> ChannelMonitor<Signer> {
2988
2990
} ;
2989
2991
}
2990
2992
2991
-
2992
2993
// We only want HTLCs with ANTI_REORG_DELAY confirmations, which implies the commitment
2993
2994
// transaction has least ANTI_REORG_DELAY confirmations for any dependent HTLC transactions
2994
2995
// to have been confirmed.
You can’t perform that action at this time.
0 commit comments