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 TradeWizardPriceController throwing exception #1755

Merged
merged 3 commits into from
Mar 11, 2024

Conversation

axpoems
Copy link
Contributor

@axpoems axpoems commented Mar 9, 2024

Based on #1750

Price controller was throwing an exception upon percentage validation:

checkArgument(percentage >= -1 && percentage <= 1);

It worked well while creating offers in one market, but when switching
markets and creating a new offer it failed since it was using the
previous quote price. Thus, this resets the missing fields every time
we use the TradeWizard.

DrColver and others added 3 commits March 7, 2024 14:13
Price controller was throwing an exception upon percentage validation.
It worked well while creating offers in one market, but when switching
markets and creating a new offer it failed since it was using the
previous quote price. Thus, this resets the missing fields every time
we use the TradeWizzard.
Copy link
Contributor

@djing-chan djing-chan left a comment

Choose a reason for hiding this comment

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

utACK

Copy link
Contributor

@alvasw alvasw left a comment

Choose a reason for hiding this comment

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

utACK

@alvasw alvasw merged commit aff2aab into bisq-network:main Mar 11, 2024
16 checks passed
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.

4 participants