dont crash on empty wallet.
MODIFY
WalletWasabi.Fluent/ViewModels/Wallets/CoinJoinStateViewModel.cs
WalletWasabi.Fluent/ViewModels/Wallets/CoinJoinStateViewModel.cs
+using System.Linq;
using System.Reactive;
using System.Reactive.Linq;
using System.Windows.Input;
@@ -240,6 +241,8 @@ public partial class CoinJoinStateViewModel : ViewModelBase
}
private void UpdateWalletMixedProgress()
+ {
+ if (_wallet.Coins.Any())
{
var privateThreshold = _wallet.KeyManager.MinAnonScoreTarget;
@@ -254,6 +257,7 @@ public partial class CoinJoinStateViewModel : ViewModelBase
ProgressValue = (double)percentage;
}
+ }
private void StatusChanged(StatusChangedEventArgs e)
{

dont crash on empty wallet.