From a65d37b48b0452103e1714e11ebca8d875648feb Mon Sep 17 00:00:00 2001 From: Matt Corallo Date: Mon, 30 Sep 2024 21:02:53 +0000 Subject: [PATCH] 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. --- lightning/src/ln/channelmanager.rs | 1 + 1 file changed, 1 insertion(+) 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(()) -- 2.39.5