]> git.bitcoin.ninja Git - rust-lightning/commit
Refactor send_payment internals for retries 2
authorValentine Wallace <vwallace@protonmail.com>
Fri, 24 Sep 2021 16:12:16 +0000 (12:12 -0400)
committerValentine Wallace <vwallace@protonmail.com>
Tue, 28 Sep 2021 23:39:37 +0000 (19:39 -0400)
commit72e1c91d46c63f657b5cd50ae918abafaf3a4861
treebe70755498d01af47a81a28f43b4e753a8a79938
parent5d316302dfb394742a9044651e3f59f334d27660
Refactor send_payment internals for retries 2

Retrying a partial payment means send_payment_internal needs to be parameterized
by a total payment amount, else 'HTLC values do not match' errors
lightning/src/ln/channelmanager.rs