Check if coin is still banned when updating status
MODIFY
WalletWasabi.Gui/Controls/WalletExplorer/CoinViewModel.cs
WalletWasabi.Gui/Controls/WalletExplorer/CoinViewModel.cs
@@ -190,6 +190,7 @@ namespace WalletWasabi.Gui.Controls.WalletExplorer
private SmartCoinStatus GetSmartCoinStatus()
{
+ Model.SetIsBanned(); // Recheck if the coin's ban has expired.
if (Model.IsBanned)
{
return SmartCoinStatus.MixingBanned;

MODIFY
WalletWasabi/Models/SmartCoin.cs
WalletWasabi/Models/SmartCoin.cs
@@ -286,7 +286,7 @@ namespace WalletWasabi.Models
Unspent = SpenderTransactionId is null;
}
- private void SetIsBanned()
+ public void SetIsBanned()
{
IsBanned = BannedUntilUtc != null && BannedUntilUtc > DateTimeOffset.UtcNow;
}

Check if coin is still banned when updating status