Extract encode_and_send_msg into a method.
authorArik Sosman <git@arik.io>
Mon, 18 May 2020 17:55:28 +0000 (10:55 -0700)
committerArik Sosman <git@arik.io>
Fri, 22 May 2020 09:11:45 +0000 (02:11 -0700)
commitdbdef7fac193b9e6921d40d6b5a373ac2ac3405b
tree894662149628208792d09b2ab4cfcab48fdd37d1
parentd4ad57b7e65f206bc40989eaef7ce2efe9428935
Extract encode_and_send_msg into a method.

This is a response to splitting #585 into smaller components. This extraction will permit a future extraction of all message handling into a separate method, and then later even into a separate trait that will be accessible through language bindings.
lightning/src/ln/peer_handler.rs