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

usePSP22Balances ignores active chain #42

Closed
wottpal opened this issue Oct 31, 2023 · 0 comments · Fixed by #47
Closed

usePSP22Balances ignores active chain #42

wottpal opened this issue Oct 31, 2023 · 0 comments · Fixed by #47
Assignees
Labels
bug Something isn't working

Comments

@wottpal
Copy link
Member

wottpal commented Oct 31, 2023

The current behavior is that all PSP22 balances are fetched, totally ignoring the active chain the user is on. Only PSP22s should be fetched where the originChain attribute matches the activeChain.network.

This would have not been an issue with a solution where I actively pass the tokens I want to fetch, but as discussed, for simplicity we stick to the current approach.

@wottpal wottpal added the bug Something isn't working label Oct 31, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
Status: ✅ Done
Development

Successfully merging a pull request may close this issue.

2 participants