We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
detectTokens
#restartTokenDetection
networkDidChange
1 parent 91be385 commit 88eb7caCopy full SHA for 88eb7ca
1 file changed
packages/assets-controllers/src/TokenDetectionController.ts
@@ -316,7 +316,7 @@ export class TokenDetectionController extends StaticIntervalPollingController<
316
317
if (isNetworkClientIdChanged && this.#isDetectionEnabledForNetwork) {
318
this.#networkClientId = selectedNetworkClientId;
319
- await this.detectTokens({
+ await this.#restartTokenDetection({
320
networkClientId: this.#networkClientId,
321
});
322
}
0 commit comments