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

Fix trade fee validation bug #5949

Merged
merged 1 commit into from Jan 11, 2022
Merged

Fix trade fee validation bug #5949

merged 1 commit into from Jan 11, 2022

Conversation

ghost
Copy link

@ghost ghost commented Jan 3, 2022

A support issue identified a bug in the trade fee validation when two BSQ UTXOs are burned to pay the fee.

  • This PR addresses the issue by checking if the expected fee is larger than the first UTXO value.
  • A new test has been added to validate this.
  • Other tests have been updated as a result of the changes in Improve fee handling #5826 where fee parameter is now supplied from a filter; this results in more accurate fee checking.

@ghost ghost marked this pull request as draft January 4, 2022 13:53
A test has been added to validate the UTXO issue above.
Other tests have been updated as a result of the changes in PR 5826
where fee parameter is now supplied from a filter; this results
in more accurate (less lenient) fee checking.
@ghost ghost marked this pull request as ready for review January 4, 2022 15:36
@ripcurlx ripcurlx added this to the v1.8.1 milestone Jan 11, 2022
Copy link
Contributor

@ripcurlx ripcurlx left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

utACK - code changes are looking fine

@ripcurlx ripcurlx merged commit 310b9a9 into bisq-network:master Jan 11, 2022
@ghost ghost mentioned this pull request Jan 20, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant