From: Matt Corallo Date: Tue, 5 Nov 2024 16:04:08 +0000 (+0000) Subject: Drop broken debug assertion on peer buffer lengths X-Git-Url: http://git.bitcoin.ninja/index.cgi?a=commitdiff_plain;h=refs%2Fheads%2F2024-11-fuzz-assert;p=rust-lightning Drop broken debug assertion on peer buffer lengths 1b711ed15f426ce40f1aa6be83d930a01ab530ba changed it so that we can enqueue broadcast gossip messages to peers even though their buffer is full as long as its our `ChannelMessageHandler` doing it. This broke a debug assertion that the buffer isn't too large when appending the broadcast message which is simply dropped here. Found by the `full_stack_target` fuzzer. --- diff --git a/lightning/src/ln/peer_handler.rs b/lightning/src/ln/peer_handler.rs index 9470346f8..e2bdd6084 100644 --- a/lightning/src/ln/peer_handler.rs +++ b/lightning/src/ln/peer_handler.rs @@ -1365,7 +1365,6 @@ impl