Address custom HTLC TLV fixups
authorAlec Chen <alecchendev@gmail.com>
Wed, 16 Aug 2023 19:02:21 +0000 (14:02 -0500)
committerAlec Chen <alecchendev@gmail.com>
Thu, 17 Aug 2023 00:06:19 +0000 (19:06 -0500)
commit83f0dbc0021335dce183450d7dce7e9f284ff0b6
tree9c7961b410d1bd63e99c17cce4fde89ebccc701d
parentbd90bd20558395a706be8dfc7ed2ff0af3185e8d
Address custom HTLC TLV fixups

Don't collect iterators to compare, minorly simplify encoding the
keysend TLV, combine the _encode_tlv_stream variants to check that the
ordering of TLVs is correct including custom TLVs.
lightning/src/ln/msgs.rs
lightning/src/ln/outbound_payment.rs
lightning/src/util/ser_macros.rs