From: Matt Corallo Date: Fri, 13 Oct 2023 19:55:24 +0000 (+0000) Subject: Ensure handlers see a consistent set of peers on conn rejection X-Git-Url: http://git.bitcoin.ninja/?a=commitdiff_plain;h=9ac7282dd8a0a90d279580cf993893fc97f81a45;p=rust-lightning Ensure handlers see a consistent set of peers on conn rejection If a message handler decides to reject a connection, other handlers should see the disconnection if they've already seen the connection. We weren't previously doing that, and do it here. --- diff --git a/lightning/src/ln/peer_handler.rs b/lightning/src/ln/peer_handler.rs index 77087f38c..4298f7151 100644 --- a/lightning/src/ln/peer_handler.rs +++ b/lightning/src/ln/peer_handler.rs @@ -1561,10 +1561,13 @@ impl