@@ -3477,6 +3477,8 @@ macro_rules! handle_post_close_monitor_update {
34773477 $self: ident, $funding_txo: expr, $update: expr, $peer_state_lock: expr, $peer_state: expr,
34783478 $per_peer_state_lock: expr, $counterparty_node_id: expr, $channel_id: expr
34793479 ) => {{
3480+ let _scope = crate::util::logger::LoggerScope::new("handle_post_close_monitor_update");
3481+
34803482 let (update_completed, all_updates_complete) = handle_new_monitor_update_internal(
34813483 $self,
34823484 &mut $peer_state.in_flight_monitor_updates,
@@ -3514,6 +3516,10 @@ macro_rules! handle_new_monitor_update_locked_actions_handled_by_caller {
35143516 (
35153517 $self: ident, $funding_txo: expr, $update: expr, $in_flight_monitor_updates: expr, $chan_context: expr
35163518 ) => {{
3519+ let _scope = crate::util::logger::LoggerScope::new(
3520+ "handle_new_monitor_update_locked_actions_handled_by_caller",
3521+ );
3522+
35173523 let (update_completed, _all_updates_complete) = handle_new_monitor_update_internal(
35183524 $self,
35193525 $in_flight_monitor_updates,
@@ -3532,6 +3538,8 @@ macro_rules! handle_new_monitor_update {
35323538 $self: ident, $funding_txo: expr, $update: expr, $peer_state_lock: expr, $peer_state: expr,
35333539 $per_peer_state_lock: expr, $chan: expr
35343540 ) => {{
3541+ let _scope = crate::util::logger::LoggerScope::new("handle_new_monitor_update");
3542+
35353543 let (update_completed, all_updates_complete) = handle_new_monitor_update_internal(
35363544 $self,
35373545 &mut $peer_state.in_flight_monitor_updates,
0 commit comments