diff --git a/patches/@metamask+assets-controllers+30.0.0.patch b/patches/@metamask+assets-controllers+30.0.0.patch index b18b4e3a312..dc9b7fdfeba 100644 --- a/patches/@metamask+assets-controllers+30.0.0.patch +++ b/patches/@metamask+assets-controllers+30.0.0.patch @@ -668,9 +668,18 @@ index 8c506d9..d1ec2d2 100644 }, {} diff --git a/node_modules/@metamask/assets-controllers/dist/chunk-V4ZO3F2S.js b/node_modules/@metamask/assets-controllers/dist/chunk-V4ZO3F2S.js -index 0430e5c..dee32be 100644 +index 0430e5c..038398c 100644 --- a/node_modules/@metamask/assets-controllers/dist/chunk-V4ZO3F2S.js +++ b/node_modules/@metamask/assets-controllers/dist/chunk-V4ZO3F2S.js +@@ -61,7 +61,7 @@ var AccountTrackerController = class extends _pollingcontroller.StaticIntervalPo + this.syncAccounts(chainId); + const { accounts, accountsByChainId } = this.state; + const isMultiAccountBalancesEnabled = this.getMultiAccountBalancesEnabled(); +- const accountsToUpdate = isMultiAccountBalancesEnabled ? Object.keys(accounts) : [this.getSelectedAddress()]; ++ const accountsToUpdate = isMultiAccountBalancesEnabled ? Object.keys(accounts) : [_controllerutils.toChecksumHexAddress.call(void 0, this.getSelectedAddress())]; + const accountsForChain = { ...accountsByChainId[chainId] }; + for (const address of accountsToUpdate) { + const balance = await this.getBalanceFromChain(address, ethQuery); @@ -80,9 +80,11 @@ var AccountTrackerController = class extends _pollingcontroller.StaticIntervalPo [chainId]: accountsForChain }