diff --git a/packages/assets-controllers/src/TokenDetectionController.ts b/packages/assets-controllers/src/TokenDetectionController.ts index a699d2eda93..0c137aff06f 100644 --- a/packages/assets-controllers/src/TokenDetectionController.ts +++ b/packages/assets-controllers/src/TokenDetectionController.ts @@ -430,7 +430,7 @@ export class TokenDetectionController extends StaticIntervalPollingController< } async _executePoll( - networkClientId: string, + networkClientId: NetworkClientId, options: { address: string }, ): Promise { if (!this.isActive) { @@ -453,6 +453,9 @@ export class TokenDetectionController extends StaticIntervalPollingController< async #restartTokenDetection({ selectedAddress, networkClientId, + }: { + selectedAddress?: string; + networkClientId?: NetworkClientId; } = {}): Promise { await this.detectTokens({ networkClientId,