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

Unknow token fee data when WETH is used as maker fee or taker fee #581

Open
JoaoCampos89 opened this issue Dec 27, 2019 · 0 comments
Open

Comments

@JoaoCampos89
Copy link

This function fails when makerfee or taker fee is WETH.

const unlockFeeTokenStep = getUnlockFeeAssetStepIfNeeded(tokenBalances, tokenAddress);

Replace by solves the issue

const unlockFeeTokenStep = getUnlockFeeAssetStepIfNeeded([... tokenBalances, wethTokenBalance], tokenAddress);

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

No branches or pull requests

1 participant