-
Notifications
You must be signed in to change notification settings - Fork 43
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(swaps): check payment immediately on recovery
This commit makes it so that any swap deals that fail as maker while sending payment will have the payment checked immediately upon being added to set of swaps tracked by the `SwapRecovery` module. This is instead of waiting for the 30 second timer to periodically retry tracked swaps It also refactors the code around checking and rechecking swaps that may have a pending payment involved, and enhances logging output. Closes #1598.
- Loading branch information
Showing
2 changed files
with
88 additions
and
66 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
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