diff --git a/src/components/wallet/TransactionHistory.tsx b/src/components/wallet/TransactionHistory.tsx index 2a1c6d8..e61cc31 100644 --- a/src/components/wallet/TransactionHistory.tsx +++ b/src/components/wallet/TransactionHistory.tsx @@ -200,7 +200,7 @@ export function TransactionHistory({ {tx.type === 'sent' ? '-' : '+'} {formatBitcoinAmount(tx.amount)} - {tx.fee && tx.type === 'sent' && ( + {tx.fee !== undefined && tx.fee > 0 && tx.type === 'sent' && (
Fee: {formatBitcoinAmount(tx.fee)}
diff --git a/src/hooks/useBitcoinBalance.ts b/src/hooks/useBitcoinBalance.ts index 38c0c13..9f200f6 100644 --- a/src/hooks/useBitcoinBalance.ts +++ b/src/hooks/useBitcoinBalance.ts @@ -60,7 +60,7 @@ async function fetchBitcoinTransactions(address: string): Promise