Skip to content

Commit 5001e44

Browse files
committed
f more assert
1 parent 9fcbd16 commit 5001e44

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

lightning/src/ln/channelmanager.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6433,14 +6433,14 @@ where
64336433
}
64346434
UpdateFulfillCommitFetch::DuplicateClaim {} => {
64356435
let (action_opt, raa_blocker_opt) = completion_action(None, true);
6436+
if let Some(raa_blocker) = raa_blocker_opt {
6437+
debug_assert!(peer_state.actions_blocking_raa_monitor_updates.get(&chan_id).unwrap().contains(&raa_blocker));
6438+
}
64366439
let action = if let Some(action) = action_opt {
64376440
action
64386441
} else {
64396442
return;
64406443
};
6441-
if let Some(raa_blocker) = raa_blocker_opt {
6442-
debug_assert!(peer_state.actions_blocking_raa_monitor_updates.get(&chan_id).unwrap().contains(&raa_blocker));
6443-
}
64446444

64456445
mem::drop(peer_state_lock);
64466446

0 commit comments

Comments
 (0)