@@ -1374,7 +1374,7 @@ macro_rules! handle_monitor_err {
13741374 if !$resend_raa {
13751375 debug_assert!( $action_type == RAACommitmentOrder :: CommitmentFirst || !$resend_commitment) ;
13761376 }
1377- $chan. monitor_update_failed ( $resend_raa, $resend_commitment, $resend_channel_ready, $failed_forwards, $failed_fails, $failed_finalized_fulfills) ;
1377+ $chan. monitor_updating_paused ( $resend_raa, $resend_commitment, $resend_channel_ready, $failed_forwards, $failed_fails, $failed_finalized_fulfills) ;
13781378 ( Err ( MsgHandleErrInternal :: from_chan_no_close( ChannelError :: Ignore ( "Failed to update ChannelMonitor" . to_owned( ) ) , * $chan_id) ) , false )
13791379 } ,
13801380 ChannelMonitorUpdateResult :: UpdateComplete => {
@@ -4637,7 +4637,7 @@ impl<Signer: Sign, M: Deref, T: Deref, K: Deref, F: Deref, L: Deref> ChannelMana
46374637 // hasn't persisted to disk yet - we can't lose money on a transaction that we haven't
46384638 // accepted payment from yet. We do, however, need to wait to send our channel_ready
46394639 // until we have persisted our monitor.
4640- chan. monitor_update_failed ( false , false , channel_ready. is_some ( ) , Vec :: new ( ) , Vec :: new ( ) , Vec :: new ( ) ) ;
4640+ chan. monitor_updating_paused ( false , false , channel_ready. is_some ( ) , Vec :: new ( ) , Vec :: new ( ) , Vec :: new ( ) ) ;
46414641 channel_ready = None ; // Don't send the channel_ready now
46424642 } ,
46434643 }
0 commit comments