]> 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)
committerSean Andersen <seana@squareup.com>
Mon, 2 May 2022 16:37:23 +0000 (09:37 -0700)
commit62f8df5bcb91f378a135aa564d0b7653ead34fd5
tree50da6613d1e68285dfeef9ab91cd20d80ae16be4
parent26c0150c120e9abd7a4f7551eea078636b8c8312
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