File tree 1 file changed +1
-2
lines changed
1 file changed +1
-2
lines changed Original file line number Diff line number Diff line change @@ -2905,8 +2905,6 @@ macro_rules! handle_error {
2905
2905
/// [`ChannelMonitor`]/channel funding transaction) to begin with.
2906
2906
macro_rules! update_maps_on_chan_removal {
2907
2907
($self: expr, $peer_state: expr, $channel_context: expr) => {{
2908
- let chan_id = $channel_context.channel_id();
2909
-
2910
2908
// If there's a possibility that we need to generate further monitor updates for this
2911
2909
// channel, we need to store the last update_id of it. However, we don't want to insert
2912
2910
// into the map (which prevents the `PeerState` from being cleaned up) for channels that
@@ -2930,6 +2928,7 @@ macro_rules! update_maps_on_chan_removal {
2930
2928
BackgroundEvent::MonitorUpdatesComplete { .. } => {},
2931
2929
}
2932
2930
}
2931
+ let chan_id = $channel_context.channel_id();
2933
2932
$peer_state.closed_channel_monitor_update_ids.insert(chan_id, update_id);
2934
2933
}
2935
2934
if let Some(outpoint) = $channel_context.get_funding_txo() {
You can’t perform that action at this time.
0 commit comments