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

Refactor updateAddedTokens to simplify token filtering logic #1125

Merged
merged 1 commit into from
Jan 12, 2025

Conversation

trungbach
Copy link
Contributor

This pull request includes a change to the src/reducer/token.ts file to improve the logic for updating added tokens by simplifying the filter condition.

Improvements to token update logic:

  • src/reducer/token.ts: Simplified the filter condition in the updateAddedTokens method to only check for duplicate denom values, removing the additional check for contractAddress.

@trungbach trungbach merged commit ac79af2 into main Jan 12, 2025
3 of 4 checks passed
@trungbach trungbach deleted the fix/added-tokens-filter branch January 12, 2025 10:46
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