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: prevent IteratePoolOrders to run forever #192

Merged
merged 1 commit into from
Aug 31, 2023

Conversation

kingcre
Copy link
Contributor

@kingcre kingcre commented Aug 31, 2023

Description

There was a bug which causes IteratePoolOrders to run forever. Fix it by correctly checking if the next order price is not same as current price.

@kingcre kingcre self-assigned this Aug 31, 2023
@github-actions github-actions bot added the x/amm label Aug 31, 2023
@kingcre kingcre marked this pull request as ready for review August 31, 2023 07:36
@kingcre kingcre merged commit f6215f0 into amm-module Aug 31, 2023
17 checks passed
@kingcre kingcre deleted the fix/pool-orders-infinite-loop branch September 6, 2023 23:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants