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 5ff9b50
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 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

0 comments on commit 5ff9b50

Please sign in to comment.