Skip to content

Commit 64205b8

Browse files
jkczyzclaude
andcommitted
Handle BroadcastChannelUpdate in push_excess_b_events
When process_msg_events processes a single message for node B (via OneMessage or OnePendingMessage mode), remaining events are passed to push_excess_b_events for routing. Timer ticks can generate BroadcastChannelUpdate events from marking channels disabled on disconnect, which may be left over after the single processed message. Since it is a broadcast not directed at a specific peer, it can be safely skipped. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
1 parent c895821 commit 64205b8

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

fuzz/src/chanmon_consistency.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1660,6 +1660,7 @@ pub fn do_test<Out: Output + MaybeSend + MaybeSync>(data: &[u8], out: Out) {
16601660
},
16611661
MessageSendEvent::SendChannelReady { .. } => continue,
16621662
MessageSendEvent::SendAnnouncementSignatures { .. } => continue,
1663+
MessageSendEvent::BroadcastChannelUpdate { .. } => continue,
16631664
MessageSendEvent::SendChannelUpdate { ref node_id, .. } => {
16641665
if Some(*node_id) == expect_drop_id { panic!("peer_disconnected should drop msgs bound for the disconnected peer"); }
16651666
*node_id == a_id

0 commit comments

Comments
 (0)