]> git.bitcoin.ninja Git - rust-lightning/commit
Add Bolt12PaymentError::SendingFailed variant
authorJeffrey Czyz <jkczyz@gmail.com>
Wed, 10 Jul 2024 21:03:31 +0000 (16:03 -0500)
committerJeffrey Czyz <jkczyz@gmail.com>
Thu, 11 Jul 2024 23:01:20 +0000 (18:01 -0500)
commitaa55366b376b1f064c3975cbe46a6b78e1e1c8eb
treeafa6bab2268f03506a773fa8dfb617eeb2343dd3
parent6035c83a1d797133b723a084abe6a55bfb4b9f62
Add Bolt12PaymentError::SendingFailed variant

Instead of returning Ok when path finding fails, allow returning a
RetryableSendFailure from send_payment_for_bolt12_invoice. Follow up
commits will return such failures.
lightning/src/ln/max_payment_path_len_tests.rs
lightning/src/ln/outbound_payment.rs