Skip to content
This repository has been archived by the owner on Oct 11, 2024. It is now read-only.

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 subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant