Skip to content

Commit

Permalink
Update PrivacySuggestionsModel.cs
Browse files Browse the repository at this point in the history
  • Loading branch information
ichthus1604 committed Apr 19, 2024
1 parent 77a3f6a commit 9f316f7
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -169,9 +169,9 @@ private IEnumerable<PrivacyItem> VerifyPrivacyLevel(Parameters parameters)

var onlyKnownByTheRecipientCoins = availableCoins.Where(x => parameters.TransactionInfo.Recipient.Equals(x.GetLabels(_wallet.AnonScoreTarget), StringComparer.OrdinalIgnoreCase)).ToArray();
var allSemiPrivateCoin =
_wallet.Coins.Where(x => x.GetPrivacyLevel(_wallet.AnonScoreTarget) == PrivacyLevel.SemiPrivate)
.Union(onlyKnownByTheRecipientCoins)
.ToArray();
availableCoins.Where(x => x.GetPrivacyLevel(_wallet.AnonScoreTarget) == PrivacyLevel.SemiPrivate)
.Union(onlyKnownByTheRecipientCoins)
.ToArray();

allSemiPrivateCoin = wasCoinjoiningCoinUsed ? allSemiPrivateCoin : allSemiPrivateCoin.Except(coinsToExclude).ToArray();

Expand Down

0 comments on commit 9f316f7

Please sign in to comment.