From: Matt Corallo <649246+TheBlueMatt@users.noreply.github.com> Date: Wed, 23 Aug 2023 20:05:40 +0000 (+0000) Subject: Merge pull request #2337 from alecchendev/2023-06-watchtower-support X-Git-Tag: v0.0.117-alpha1~44 X-Git-Url: http://git.bitcoin.ninja/index.cgi?a=commitdiff_plain;h=32d6e91fd6547241a04dc7827e11efe0ed7e5f4f;p=rust-lightning Merge pull request #2337 from alecchendev/2023-06-watchtower-support Support third-party watchtowers in persistence pipeline --- 32d6e91fd6547241a04dc7827e11efe0ed7e5f4f diff --cc lightning/src/ln/chan_utils.rs index 9ee564df5,a12665dba..18048d8ef --- a/lightning/src/ln/chan_utils.rs +++ b/lightning/src/ln/chan_utils.rs @@@ -1356,8 -1360,9 +1360,9 @@@ impl Writeable for CommitmentTransactio impl Readable for CommitmentTransaction { fn read(reader: &mut R) -> Result { - _init_and_read_tlv_fields!(reader, { + _init_and_read_len_prefixed_tlv_fields!(reader, { (0, commitment_number, required), + (1, to_broadcaster_delay, option), (2, to_broadcaster_value_sat, required), (4, to_countersignatory_value_sat, required), (6, feerate_per_kw, required),