]> git.bitcoin.ninja Git - rust-lightning/commitdiff
Add missing `inbound_payment_id_secret` write in `ChannelManager`
authorMatt Corallo <git@bluematt.me>
Mon, 30 Sep 2024 21:02:53 +0000 (21:02 +0000)
committerMatt Corallo <git@bluematt.me>
Wed, 23 Oct 2024 16:15:01 +0000 (16:15 +0000)
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

index 3914384ca82d5565e2ab81576ab73889cdd227f1..3b3a0e37e734a781061d889916bfd1ba018d915e 100644 (file)
@@ -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(())