Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

percents start loop index #591

Open
guotie opened this issue Jun 4, 2024 · 0 comments
Open

percents start loop index #591

guotie opened this issue Jun 4, 2024 · 0 comments

Comments

@guotie
Copy link

guotie commented Jun 4, 2024

https://github.com/Uniswap/smart-order-router/blob/14815de0ee93f4abc9ad16e6a723ec185e6f15d8/src/routers/alpha-router/functions/best-swap-route.ts#L238C16-L238C32

should here be

for (let i = percents.length - 1; i >= 0; i--) {
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant