-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Prevent claiming of overpaid swaps (#667)
* Handle overpayments gracefully * Fix test mock txs and swaps * Get actual payer amount from blockchain * Check first tx output instead of script balance * Fetch actual payer amount if not available * Remove user lockup amount verification in recoverer * Refactor user lockup amount check into appropriate method
- Loading branch information
1 parent
16ac13e
commit 0cdfa20
Showing
7 changed files
with
306 additions
and
147 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
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
Oops, something went wrong.