@@ -3252,9 +3252,9 @@ impl<Signer: Sign, M: Deref, T: Deref, K: Deref, F: Deref, L: Deref> ChannelMana
32523252 forwarding_failed_htlcs. push ( ( failed_htlcs, * channel_id) ) ;
32533253 if let Some ( ( commitment_update, monitor_update) ) = commitment_opt {
32543254 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) ;
32563256 handle_errors. push ( ( chan. get_counterparty_node_id ( ) , res) ) ;
3257- if drop { return false ; }
3257+ if close_channel { return false ; }
32583258 }
32593259 pending_msg_events. push ( events:: MessageSendEvent :: UpdateHTLCs {
32603260 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
32643264 true
32653265 } ,
32663266 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) ;
32683268 handle_errors. push ( ( chan. get_counterparty_node_id ( ) , Err ( res) ) ) ;
3269- !drop
3269+ !close_channel
32703270 }
32713271 }
32723272 } ) ;
0 commit comments