diff --git a/src/components/assets/Account.vue b/src/components/assets/Account.vue index fe9a7f9b2..1d1b95f91 100644 --- a/src/components/assets/Account.vue +++ b/src/components/assets/Account.vue @@ -263,12 +263,13 @@ export default defineComponent({ [balance, props, currentAccount, ledger, isZkEvm], () => { balUsd.value = null; - const lockedBal = isZkEvm.value ? '0' : String(ledger?.value?.locked.toString()); + const h160LockedBal = + isZkEvm.value || !isH160.value ? '0' : String(ledger?.value?.locked.toString()); if (!balance.value || !props.nativeTokenUsd) return; const bal = Number(ethers.utils.formatEther(balance.value.toString())) + - Number(ethers.utils.formatEther(lockedBal)); + Number(ethers.utils.formatEther(h160LockedBal)); balUsd.value = props.nativeTokenUsd * bal; }, { immediate: true }