]> git.bitcoin.ninja Git - rust-lightning/commit
Ensure `Event::BumpTransaction` is forwards-compatible
authorMatt Corallo <git@bluematt.me>
Wed, 7 Dec 2022 00:41:07 +0000 (00:41 +0000)
committerMatt Corallo <git@bluematt.me>
Wed, 7 Dec 2022 23:17:58 +0000 (23:17 +0000)
commita1f7cbb572fa50dcb933bb162facb5ce2cd82576
tree519f2d06a866a727bd55172dc5a00418e176abce
parent381e8b96789ac4dbff2315aeb88d8b77d7bd3cfa
Ensure `Event::BumpTransaction` is forwards-compatible

`Event`s with an odd type are ignored by older versions of LDK,
however they rely on the `write_tlv_fields` call to know how many
bytes to read and discard. We were missing that call in our writing
of `Event::BumpTransaction`, which we add here.
lightning/src/util/events.rs