Skip to content

Support spontaneous payments in InvoicePayer #1156

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
jkczyz opened this issue Nov 4, 2021 · 0 comments · Fixed by #1160
Closed

Support spontaneous payments in InvoicePayer #1156

jkczyz opened this issue Nov 4, 2021 · 0 comments · Fixed by #1160
Assignees

Comments

@jkczyz
Copy link
Contributor

jkczyz commented Nov 4, 2021

InvoicePayer is stateless, so it will retry failed spontaneous payments when receiving PaymentPathFailed events. However, the InvoicePayer interface should be expanded to support spontaneous payments given a retry is needed when ChannelManager::send_spontaneous_payment returns Err(PaymentSendFailure::AllFailedRetrySafe).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant