diff --git a/packages/network-controller/src/NetworkController.ts b/packages/network-controller/src/NetworkController.ts index 94e2c0cc55b..182a35293ef 100644 --- a/packages/network-controller/src/NetworkController.ts +++ b/packages/network-controller/src/NetworkController.ts @@ -288,14 +288,14 @@ export class NetworkController extends BaseControllerV2< }; } - private refreshNetwork() { + private async refreshNetwork() { this.update((state) => { state.network = 'loading'; state.networkDetails = {}; }); const { rpcTarget, type, chainId, ticker } = this.state.providerConfig; this.configureProvider(type, rpcTarget, chainId, ticker); - this.lookupNetwork(); + await this.lookupNetwork(); } private registerProvider() {