]> git.bitcoin.ninja Git - rust-lightning/commit
Rename send_payment and retry_payment for retries
authorValentine Wallace <vwallace@protonmail.com>
Mon, 19 Dec 2022 01:34:34 +0000 (20:34 -0500)
committerValentine Wallace <vwallace@protonmail.com>
Tue, 20 Dec 2022 02:08:08 +0000 (21:08 -0500)
commitafdaa64b44f619df3cc01c5682b9a47defdca103
treec6b086d13fa616722132165aca60f3654e961b60
parent3e89cc7e085023b7e3c5ccd7f444700684e97dd2
Rename send_payment and retry_payment for retries

Once ChannelManager supports payment retries, it will make more sense for its
current send_payment method to be named send_payment_with_route because
retrying should be the default. Here we get a head start on this by making the
rename in outbound_payment, but not changing the public interface yet.
lightning/src/ln/channelmanager.rs
lightning/src/ln/outbound_payment.rs