]> git.bitcoin.ninja Git - rust-lightning/commit
Store total payment amount in ClaimableHTLC explicitly
authorMatt Corallo <git@bluematt.me>
Tue, 21 Dec 2021 22:10:43 +0000 (22:10 +0000)
committerMatt Corallo <git@bluematt.me>
Wed, 26 Jan 2022 19:09:13 +0000 (19:09 +0000)
commit7c16299042ed514e213037e4d4c90c35280a717d
tree8bb30ba128045b907092f9957d552289b21da11a
parent24c67928542b9ecc76df51e847e1d26747b08fe3
Store total payment amount in ClaimableHTLC explicitly

...instead of accessing it via the `OnionPayload::Invoice` form.
This may be useful if we add MPP keysend support, but is directly
useful to allow us to drop `FinalOnionHopData` from `OnionPayload`.
lightning/src/ln/channelmanager.rs