You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When a payment fails, it's useful to retry the payment once the network
graph and channel scores are updated. InvoicePayer is a utility for
making payments which caches the payment Invoice so that it can be used
when retrying the payment. It is parameterized by a Payer and Router for
ease of customization and testing.
Implement EventHandler for InvoicePayer as a decorator that intercepts
PaymentFailed events and retries that payment using the cached Invoice.
It delegates to the decorated EventHandler after retries have been
exhausted and for other events.
0 commit comments