do not skip the adding if the last CJ is not confirmed
MODIFY
WalletWasabi.Fluent/ViewModels/Wallets/Home/History/HistoryViewModel.cs
WalletWasabi.Fluent/ViewModels/Wallets/Home/History/HistoryViewModel.cs
@@ -137,13 +137,13 @@ namespace WalletWasabi.Fluent.ViewModels.Wallets.Home.History
balance += item.Amount;
- if (item.IsLikelyCoinJoinOutput)
+ if (!item.IsLikelyCoinJoinOutput)
{
- if (!item.IsConfirmed())
- {
- continue;
+ yield return new TransactionHistoryItemViewModel(i, item, _walletViewModel, balance, _updateTrigger);
}
+ if (item.IsLikelyCoinJoinOutput && item.IsConfirmed())
+ {
if (coinJoinGroup is null)
{
coinJoinGroup = new CoinJoinsHistoryItemViewModel(i, item);
@@ -153,10 +153,6 @@ namespace WalletWasabi.Fluent.ViewModels.Wallets.Home.History
coinJoinGroup.Add(item);
}
}
- else
- {
- yield return new TransactionHistoryItemViewModel(i, item, _walletViewModel, balance, _updateTrigger);
- }
if (coinJoinGroup is { } cjg &&
(i + 1 < txRecordList.Count && !txRecordList[i + 1].IsLikelyCoinJoinOutput || // The next item is not CJ so add the group.

do not skip the adding if the last CJ is not confirmed