Skip to content

Commit

Permalink
fix: btc balance
Browse files Browse the repository at this point in the history
  • Loading branch information
fbwoolf committed Jan 8, 2025
1 parent 7f838c2 commit 3a1b17e
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ export function useBtcCryptoAssetBalanceNativeSegwit(address: string) {
...defaultZeroValues,
totalBalance: createMoney(sumNumbers(totalUtxosQuery.data.map(utxo => utxo.value)), 'BTC'),
availableBalance: createMoney(
// Here we add back in the utxos that are spending beacuse they've been discarded
// Here we add back in the utxos that are spending because they've been discarded
sumNumbers(
[
...filterOutNativeSegwitInscriptions(totalUtxosQuery.data),
Expand Down
2 changes: 1 addition & 1 deletion src/app/ui/components/account/account.card.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ import { PrivateTextLayout } from '@app/components/privacy/private-text.layout';
import { BasicTooltip } from '../tooltip/basic-tooltip';

const availableBalanceTooltipLabel =
'Total balance minus locked amounts, outbound transfers, protected collectibles and uneconomical UTXOs.';
'Total balance minus locked amounts, outbound transfers, protected collectibles and uneconomical UTXOs';

interface AccountCardProps {
name: string;
Expand Down
2 changes: 1 addition & 1 deletion tests/page-object-models/onboarding.page.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ const TEST_ACCOUNT_SECRET_KEY = process.env.TEST_ACCOUNT_SECRET_KEY ?? '';

// If default wallet state changes, we'll need to update this
export const testSoftwareAccountDefaultWalletState = {
chains: { stx: { default: { highestAccountIndex: 1, currentAccountIndex: 0 } } },
chains: { stx: { default: { highestAccountIndex: 2, currentAccountIndex: 0 } } },
appPermissions: {
entities: {},
ids: [],
Expand Down

0 comments on commit 3a1b17e

Please sign in to comment.