Skip to content
Merged
6 changes: 3 additions & 3 deletions packages/assets-controllers/src/AccountTrackerController.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,10 @@ import type { Provider } from '@metamask/eth-query';
import type {
NetworkClientId,
NetworkController,
NetworkState,
} from '@metamask/network-controller';
import { StaticIntervalPollingControllerV1 } from '@metamask/polling-controller';
import type { PreferencesState } from '@metamask/preferences-controller';
import type { Hex } from '@metamask/utils';
import { assert } from '@metamask/utils';
import { Mutex } from 'async-mutex';
import { cloneDeep } from 'lodash';
Expand Down Expand Up @@ -120,7 +120,7 @@ export class AccountTrackerController extends StaticIntervalPollingControllerV1<

private readonly getMultiAccountBalancesEnabled: () => PreferencesState['isMultiAccountBalancesEnabled'];

private readonly getCurrentChainId: () => NetworkState['providerConfig']['chainId'];
private readonly getCurrentChainId: () => Hex;

private readonly getNetworkClientById: NetworkController['getNetworkClientById'];

Expand Down Expand Up @@ -152,7 +152,7 @@ export class AccountTrackerController extends StaticIntervalPollingControllerV1<
getIdentities: () => PreferencesState['identities'];
getSelectedAddress: () => PreferencesState['selectedAddress'];
getMultiAccountBalancesEnabled: () => PreferencesState['isMultiAccountBalancesEnabled'];
getCurrentChainId: () => NetworkState['providerConfig']['chainId'];
getCurrentChainId: () => Hex;
getNetworkClientById: NetworkController['getNetworkClientById'];
},
config?: Partial<AccountTrackerConfig>,
Expand Down