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

BsqWalletV2Test: Add invalid and dust send tests #7295

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

Conversation

alvasw
Copy link
Contributor

@alvasw alvasw commented Nov 11, 2024

The tests try to send 0 BSQ and the current dust amount in BSQ.

@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.
The tests try to send 0 BSQ and the current dust amount in BSQ.
@alvasw alvasw force-pushed the BsqWalletV2Test_Add_invalid_and_dust_send_tests branch from c97502f to f230c57 Compare November 14, 2024 01:55
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