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

Prevent third party token list polling in the Extension when token detection is OFF #861

Merged
merged 2 commits into from Jun 29, 2022

Conversation

NiranjanaBinoy
Copy link
Contributor

We are introducing a new state variable preventPollingOnNetworkRestart which has a default value of false in order to prevent third-party token list polling while changing the network when token detection is OFF. This is intended for use in the extension now in order to enable the user from opting out of using the third-party api. A true value for the variable will clear out the tokenList and tokensChainsCache and we are stopping the polling from the extension side and a false value will restart the polling and continue with the previous behavior.

@NiranjanaBinoy NiranjanaBinoy requested a review from a team as a code owner June 24, 2022 15:05
@NiranjanaBinoy NiranjanaBinoy self-assigned this Jun 24, 2022
Copy link
Contributor

@danjm danjm left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This looks good to me, but I would like review from @Cal-L as well

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.

None yet

2 participants