From: Matt Corallo Date: Fri, 21 Apr 2023 17:18:04 +0000 (+0000) Subject: Clean up handshake timeout disconnection log message X-Git-Tag: v0.0.115~2^2 X-Git-Url: http://git.bitcoin.ninja/index.cgi?a=commitdiff_plain;h=refs%2Fheads%2F2023-04-better-discon-err-msg;p=rust-lightning Clean up handshake timeout disconnection log message It currently reads "disconnected from peer which hasn't completed handshake due to ping timeout", which is confusing. Instead, it will now read "disconnected from peer which hasn't completed handshake due to ping/handshake timeout" --- diff --git a/lightning/src/ln/peer_handler.rs b/lightning/src/ln/peer_handler.rs index 2fbb22e88..848701430 100644 --- a/lightning/src/ln/peer_handler.rs +++ b/lightning/src/ln/peer_handler.rs @@ -2103,7 +2103,7 @@ impl