@@ -1374,7 +1374,7 @@ macro_rules! handle_monitor_err {
1374
1374
if !$resend_raa {
1375
1375
debug_assert!( $action_type == RAACommitmentOrder :: CommitmentFirst || !$resend_commitment) ;
1376
1376
}
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) ;
1378
1378
( Err ( MsgHandleErrInternal :: from_chan_no_close( ChannelError :: Ignore ( "Failed to update ChannelMonitor" . to_owned( ) ) , * $chan_id) ) , false )
1379
1379
} ,
1380
1380
ChannelMonitorUpdateResult :: UpdateComplete => {
@@ -4604,7 +4604,7 @@ impl<Signer: Sign, M: Deref, T: Deref, K: Deref, F: Deref, L: Deref> ChannelMana
4604
4604
// hasn't persisted to disk yet - we can't lose money on a transaction that we haven't
4605
4605
// accepted payment from yet. We do, however, need to wait to send our channel_ready
4606
4606
// until we have persisted our monitor.
4607
- chan. monitor_update_failed ( false , false , channel_ready. is_some ( ) , Vec :: new ( ) , Vec :: new ( ) , Vec :: new ( ) ) ;
4607
+ chan. monitor_updating_paused ( false , false , channel_ready. is_some ( ) , Vec :: new ( ) , Vec :: new ( ) , Vec :: new ( ) ) ;
4608
4608
channel_ready = None ; // Don't send the channel_ready now
4609
4609
} ,
4610
4610
}
0 commit comments