]> git.bitcoin.ninja Git - rust-lightning/commit
Drop broken debug assertion on peer buffer lengths 2024-11-fuzz-assert
authorMatt Corallo <git@bluematt.me>
Tue, 5 Nov 2024 16:04:08 +0000 (16:04 +0000)
committerMatt Corallo <git@bluematt.me>
Tue, 5 Nov 2024 16:05:06 +0000 (16:05 +0000)
commita29cf09417ed332044ec9ae50fcbec090a3ff20d
tree1edbc48b9bad1aa2114fa18fc7bf4eb2dc5f0a7c
parent76a93a334bacbcfa5f37818b751dff79e760159f
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.
lightning/src/ln/peer_handler.rs