]> git.bitcoin.ninja Git - rust-lightning/commit
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>
Mon, 30 Sep 2024 21:04:08 +0000 (21:04 +0000)
commit0b48d67d86d36d300ce7c5ad47d9e69af9a9979f
treec3372dee2b30f3e386d329864011cbc2f011685c
parenta661c92746be32cc3d3b5cdf1782510ecb9a62e1
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