-
Notifications
You must be signed in to change notification settings - Fork 14
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
SECURITY FIX: do not cancel hodl invoice on payment error
Under some unusual circumstances the `PayInvoice` function can return an error when the payment has been settled. In these cases it is extremely important not to cancel the hodl invoice since manual recovery is not possible if the hodl invoice is canceled. Also increases the default `CltvDeltaAlpha` to allow a longer window for manual recovery in the case of an error.
- Loading branch information
Showing
1 changed file
with
9 additions
and
14 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters