Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

sendBsq: Throw InsufficientMoneyException when BSQ balance too low #7294

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

alvasw
Copy link
Contributor

@alvasw alvasw commented Nov 11, 2024

We should throw an InsufficientMoneyException when the CoinSelection
gathered amount is lower than the amount the user wants to send.

@alejandrogarcia83
Copy link
Contributor

Hi @alvasw,
please resolve the merge conflict. Thank you!

First, the sendBsq test creates one BTC and two BSQ wallets. Afterward,
it funds the BTC and one BSQ wallet with 1 BTC. Next, the funded BSQ
wallet sends 100 BSQ to the second BSQ wallet.
We should throw an InsufficientMoneyException when the CoinSelection
gathered amount is lower than the amount the user wants to send.
@alvasw alvasw force-pushed the sendBsq_Throw_InsufficientMoneyException_when_BSQ_balance_too_low branch from 0d8f7c0 to a7ff534 Compare November 14, 2024 01:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants