Skip to content

Support spontaneous payments in InvoicePayer #1156

@jkczyz

Description

@jkczyz

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).

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions