From cc6dd456faa878492f8f235b5d1770ca108271a6 Mon Sep 17 00:00:00 2001 From: Matt Corallo Date: Fri, 14 Feb 2020 22:51:09 -0500 Subject: [PATCH] Don't send padding bytes for pings We (somewhat needlessly) send an extra 64 bytes with every ping. While this isn't exactly a big deal, I saw it and figured we shouldn't waste bytes on the wire given some of the constraints of potential users. --- lightning/src/ln/peer_handler.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lightning/src/ln/peer_handler.rs b/lightning/src/ln/peer_handler.rs index 692e6769..1814f0af 100644 --- a/lightning/src/ln/peer_handler.rs +++ b/lightning/src/ln/peer_handler.rs @@ -1182,7 +1182,7 @@ impl PeerManager