]> git.bitcoin.ninja Git - rust-lightning/commit
Fix peer_handler message serialization 2018-09-ser-rework
authorMatt Corallo <git@bluematt.me>
Sun, 16 Sep 2018 17:16:43 +0000 (13:16 -0400)
committerMatt Corallo <git@bluematt.me>
Sun, 16 Sep 2018 18:33:50 +0000 (14:33 -0400)
commit8a7dd2f9b8c09aab9f89df3a04e8535109c263bc
treeae9c66b374a96fdd22935e079f112977df5be188
parent19b92448c579982fcfcd52e28448323576472883
Fix peer_handler message serialization

Fixes a bug introduced in 3e89106163b941aa4dc4ff92bdb484b7bbcf50c4
where messages were being encoded with their size instead of their
type.
Also utilizes the new size_hinting in peer_handler
src/ln/peer_handler.rs