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

Revert #55 #58

Merged
merged 2 commits into from
Jun 11, 2024
Merged

Revert #55 #58

merged 2 commits into from
Jun 11, 2024

Conversation

0xmichalis
Copy link
Member

@0xmichalis 0xmichalis commented Jun 11, 2024

Revert #55 since the underlying decimals conversion does not need to happen at the calculator and it's currently handled by the pool.

Revert ToucanProtocol#55
since the underlying decimals conversion does not
need to happen at the calculator and it's currently
handled by the pool.
This check is redundant since feeBasisPoints
is always smaller than 10000 hence the resulting
feeAmount is always going to be smaller than
requestedAmount.
@0xmichalis 0xmichalis requested review from aspiers and sirnicolaz June 11, 2024 08:53
@0xmichalis 0xmichalis changed the title Revert 55 Revert #55 Jun 11, 2024
@0xmichalis 0xmichalis merged commit bf89dcc into ToucanProtocol:main Jun 11, 2024
1 check passed
@0xmichalis 0xmichalis deleted the revert-55 branch June 11, 2024 08:56
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.

2 participants