]> git.bitcoin.ninja Git - rust-lightning/commit
Store keysend preimage in outbound payments
authorValentine Wallace <vwallace@protonmail.com>
Tue, 24 Jan 2023 16:31:50 +0000 (11:31 -0500)
committerValentine Wallace <vwallace@protonmail.com>
Fri, 3 Feb 2023 00:30:22 +0000 (19:30 -0500)
commitc863350507856518e821e85faef7cf35ae954e30
treede1ec0a1faf50ab11431f16bb9b0c8bb8f54f2c1
parent2a72f4f98caddd38058e520dd522685a19bd4053
Store keysend preimage in outbound payments

This sets us up for spontaneous payment retries in ChannelManager.

Currently, retrying spontaneous payments is broken in InvoicePayer because it
does not include the keysend preimage on retry.
lightning/src/ln/channelmanager.rs
lightning/src/ln/outbound_payment.rs