]> 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>
Thu, 24 Oct 2024 17:44:33 +0000 (17:44 +0000)
commit17cf179e75e00aca6f89e81f6c88c922084864e2
treeb45714b0f2bd1e6ccd20da34c8a668b871d62c93
parenta26033f0cb879c7514953c11dfb9547e982e633e
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