]> git.bitcoin.ninja Git - rust-lightning/commit
Drop the `Writeable::encode_with_len` method in non-test buidls
authorMatt Corallo <git@bluematt.me>
Tue, 15 Mar 2022 23:53:01 +0000 (23:53 +0000)
committerMatt Corallo <git@bluematt.me>
Sun, 27 Mar 2022 17:12:17 +0000 (17:12 +0000)
commitc47acd76e8e60b65335a1bd1b9bbb53ddd43e496
tree27686939ca525a5f06426c90506052ba1b9912c2
parentd2256301e89a05b8f76c6a080a0ee68abd5c762e
Drop the `Writeable::encode_with_len` method in non-test buidls

There's not a lot of reason to keep it given its used in one place
outside of tests, and this lets us clean up some of the byte_utils
calls that are still lying around.
lightning/src/ln/channelmanager.rs
lightning/src/util/ser.rs