Don't send padding bytes for pings 2020-01-bitcoinrpc-dep-head
authorMatt Corallo <git@bluematt.me>
Sat, 15 Feb 2020 03:51:09 +0000 (22:51 -0500)
committerMatt Corallo <git@bluematt.me>
Tue, 5 May 2020 21:27:02 +0000 (17:27 -0400)
commitea7222f098d2699900b3e5db271bbb887c1f7a05
tree43ca8179a35d775ea4cf7627500d95d6e6307c80
parent9a62d118f68dfd7269d1d84e3015791a287c06fa
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