From: Matt Corallo Date: Mon, 30 Sep 2024 21:02:53 +0000 (+0000) Subject: Add missing `inbound_payment_id_secret` write in `ChannelManager` X-Git-Url: http://git.bitcoin.ninja/?a=commitdiff_plain;h=a65d37b48b0452103e1714e11ebca8d875648feb;p=rust-lightning Add missing `inbound_payment_id_secret` write in `ChannelManager` In aa09c33a1719944769ba98624bfe18ea33083f44 we added a new secret in `ChannelManager` with which to derive inbound `PaymentId`s. We added read support for the new field, but forgot to add writing support for it. Here we fix this oversight. --- diff --git a/lightning/src/ln/channelmanager.rs b/lightning/src/ln/channelmanager.rs index 3914384ca..3b3a0e37e 100644 --- a/lightning/src/ln/channelmanager.rs +++ b/lightning/src/ln/channelmanager.rs @@ -12024,6 +12024,7 @@ where (11, self.probing_cookie_secret, required), (13, htlc_onion_fields, optional_vec), (14, decode_update_add_htlcs_opt, option), + (15, self.inbound_payment_id_secret, required), }); Ok(())