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 exec price dividing by 0 bug #184

Merged
merged 3 commits into from
Nov 30, 2023
Merged

fix exec price dividing by 0 bug #184

merged 3 commits into from
Nov 30, 2023

Conversation

uri-99
Copy link
Collaborator

@uri-99 uri-99 commented Nov 29, 2023

This PR solves a Test issue when calculating execution_price.
Now this function takes into account if 0 tokens where traded, price = 0

@uri-99 uri-99 merged commit a2d00a1 into test/swap Nov 30, 2023
2 checks passed
@uri-99 uri-99 deleted the test/fix-execprice-bug branch November 30, 2023 19:12
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.

None yet

2 participants