fix incorrect balance when pending CJ was not shown
MODIFY
WalletWasabi.Fluent/ViewModels/Wallets/Home/History/HistoryItems/CoinJoinHistoryItemViewModel.cs
WalletWasabi.Fluent/ViewModels/Wallets/Home/History/HistoryItems/CoinJoinHistoryItemViewModel.cs
@@ -6,7 +6,6 @@ namespace WalletWasabi.Fluent.ViewModels.Wallets.Home.History.HistoryItems
{
public class CoinJoinHistoryItemViewModel : HistoryItemViewModelBase
{
-
public CoinJoinHistoryItemViewModel(
int orderIndex,
TransactionSummary transactionSummary,

MODIFY
WalletWasabi.Fluent/ViewModels/Wallets/Home/History/HistoryViewModel.cs
WalletWasabi.Fluent/ViewModels/Wallets/Home/History/HistoryViewModel.cs
@@ -152,12 +152,13 @@ namespace WalletWasabi.Fluent.ViewModels.Wallets.Home.History
break;
}
+ balance += nextItem.Amount;
+
if (!nextItem.IsConfirmed())
{
continue;
}
- balance += nextItem.Amount;
item.Amount += nextItem.Amount;
lastCjDateInGroup = nextItem.DateTime;
}

fix incorrect balance when pending CJ was not shown