@@ -1368,7 +1368,7 @@ macro_rules! handle_monitor_err {
1368
1368
if !$resend_raa {
1369
1369
debug_assert!( $action_type == RAACommitmentOrder :: CommitmentFirst || !$resend_commitment) ;
1370
1370
}
1371
- $chan. monitor_update_failed ( $resend_raa, $resend_commitment, $resend_channel_ready, $failed_forwards, $failed_fails, $failed_finalized_fulfills) ;
1371
+ $chan. monitor_updating_paused ( $resend_raa, $resend_commitment, $resend_channel_ready, $failed_forwards, $failed_fails, $failed_finalized_fulfills) ;
1372
1372
( Err ( MsgHandleErrInternal :: from_chan_no_close( ChannelError :: Ignore ( "Failed to update ChannelMonitor" . to_owned( ) ) , * $chan_id) ) , false )
1373
1373
} ,
1374
1374
ChannelMonitorUpdateStatus :: Completed => {
@@ -4512,7 +4512,7 @@ impl<Signer: Sign, M: Deref, T: Deref, K: Deref, F: Deref, L: Deref> ChannelMana
4512
4512
// hasn't persisted to disk yet - we can't lose money on a transaction that we haven't
4513
4513
// accepted payment from yet. We do, however, need to wait to send our channel_ready
4514
4514
// until we have persisted our monitor.
4515
- chan. monitor_update_failed ( false , false , channel_ready. is_some ( ) , Vec :: new ( ) , Vec :: new ( ) , Vec :: new ( ) ) ;
4515
+ chan. monitor_updating_paused ( false , false , channel_ready. is_some ( ) , Vec :: new ( ) , Vec :: new ( ) , Vec :: new ( ) ) ;
4516
4516
channel_ready = None ; // Don't send the channel_ready now
4517
4517
} ,
4518
4518
}
0 commit comments