diff --git a/api/get-balance.ts b/api/get-balance.ts index a505ba06..d5312931 100644 --- a/api/get-balance.ts +++ b/api/get-balance.ts @@ -47,7 +47,10 @@ const getBalance = async ( account_id: accountId, }, )) as string; - if (tokenId == NBTCTokenId) { + if ( + tokenId === NBTCTokenId && + window.selector?.store?.getState()?.selectedWalletId === "btc-wallet" + ) { return Decimal.max(new Decimal(balanceInYocto || 0).minus(1000), "0").toFixed(); } }