Stop checking size > 64KB in serialization
authorMatt Corallo <git@bluematt.me>
Sun, 16 Sep 2018 17:50:42 +0000 (13:50 -0400)
committerMatt Corallo <git@bluematt.me>
Sun, 16 Sep 2018 18:33:50 +0000 (14:33 -0400)
commit8322c756cb3574d74cf1b88893dad14ec5be57ad
treed522bd89d24553f958d69d4aad49240c293958a1
parentdfbdcf9e01f8dffd7696a2ed73d16f276acd4c22
Stop checking size > 64KB in serialization

This removes a bunch of potentially new error handling in writers
and the checks were kinda useless anyway - in normal operation we
unwrap()ed anyway, and we're gonna want to use the serializtion
framework for ChannelMonitor/ChannelManager serialization, which
may generate things larger than 64KB anyway.
src/ln/msgs.rs
src/util/ser.rs
src/util/ser_macros.rs