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

AddCommittedToken was edited to avoid amount duplicate on Lockup #476

Merged
merged 10 commits into from
May 16, 2024

Conversation

fenriz07
Copy link
Contributor

Description

We have a problem when the user joins a pool for a second time or higher because the lockups amount is doubled. This causes a desynchronization between the amount and the lockups that allow an unavailable amount to be withdrawn

What has Changed?

Function AddCommittedTokens was edited to resolve the problem, in line 54 there was a problem because each time that adds a new committed the amount was duplicated.

@Wgil
Copy link
Contributor

Wgil commented May 1, 2024

Lets hold this until local dev is back to normal

@cosmic-vagabond cosmic-vagabond merged commit 2f3ab14 into main May 16, 2024
13 checks passed
@cosmic-vagabond cosmic-vagabond deleted the withdraw-liquidity-lockup branch May 16, 2024 11:26
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.

3 participants