]> git.bitcoin.ninja Git - rust-lightning/commit
Move payment claim initialization to an fn on `ClaimablePayments`
authorMatt Corallo <git@bluematt.me>
Mon, 16 Sep 2024 00:16:51 +0000 (00:16 +0000)
committerMatt Corallo <git@bluematt.me>
Mon, 30 Sep 2024 21:04:08 +0000 (21:04 +0000)
commitc32395082edbe9d20080caea5d228278bc7b7ca0
tree08393f6da655e30a38174d603ef2ff9563be4888
parente9a4d729c3af8bd56bb7b7ee77d120d4d1684682
Move payment claim initialization to an fn on `ClaimablePayments`

Here we wrap the logic which moves claimable payments from
`claimable_payments` to `pending_claiming_payments` to a new
utility function on `ClaimablePayments`. This will allow us to call
this new logic during `ChannelManager` deserialization in a few
commits.
lightning/src/ln/channelmanager.rs