@@ -3252,9 +3252,9 @@ impl<Signer: Sign, M: Deref, T: Deref, K: Deref, F: Deref, L: Deref> ChannelMana
3252
3252
forwarding_failed_htlcs. push ( ( failed_htlcs, * channel_id) ) ;
3253
3253
if let Some ( ( commitment_update, monitor_update) ) = commitment_opt {
3254
3254
if let Err ( e) = self . chain_monitor . update_channel ( chan. get_funding_txo ( ) . unwrap ( ) , monitor_update) {
3255
- let ( res, drop ) = handle_monitor_err ! ( self , e, short_to_id, chan, RAACommitmentOrder :: CommitmentFirst , false , true , Vec :: new( ) , Vec :: new( ) , channel_id) ;
3255
+ let ( res, close_channel ) = handle_monitor_err ! ( self , e, short_to_id, chan, RAACommitmentOrder :: CommitmentFirst , false , true , Vec :: new( ) , Vec :: new( ) , channel_id) ;
3256
3256
handle_errors. push ( ( chan. get_counterparty_node_id ( ) , res) ) ;
3257
- if drop { return false ; }
3257
+ if close_channel { return false ; }
3258
3258
}
3259
3259
pending_msg_events. push ( events:: MessageSendEvent :: UpdateHTLCs {
3260
3260
node_id : chan. get_counterparty_node_id ( ) ,
@@ -3264,9 +3264,9 @@ impl<Signer: Sign, M: Deref, T: Deref, K: Deref, F: Deref, L: Deref> ChannelMana
3264
3264
true
3265
3265
} ,
3266
3266
Err ( e) => {
3267
- let ( drop , res) = convert_chan_err ! ( self , e, short_to_id, chan, channel_id) ;
3267
+ let ( close_channel , res) = convert_chan_err ! ( self , e, short_to_id, chan, channel_id) ;
3268
3268
handle_errors. push ( ( chan. get_counterparty_node_id ( ) , Err ( res) ) ) ;
3269
- !drop
3269
+ !close_channel
3270
3270
}
3271
3271
}
3272
3272
} ) ;
0 commit comments