forked from bisq-network/bisq
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Block API attempt swap BSQ if !sufficient funds
This API bug was relying on the UI purposed TaskRunner to bubble up an insufficient funds error to the client, but it cannot do that. This change blocks the takeoffer attempt if sufficient funds are not found after the swap model calculates the taker's trade amounts. Related: bisq-network#6221 Based on bisq-network#6250. Based on branch `add-api-price-service-getaverageprice`.
- Loading branch information
Showing
2 changed files
with
15 additions
and
2 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