Remove ws from constructor
MODIFY
WalletWasabi.Gui/Controls/WalletExplorer/CoinJoinTabViewModel.cs
WalletWasabi.Gui/Controls/WalletExplorer/CoinJoinTabViewModel.cs
@@ -50,11 +50,10 @@ namespace WalletWasabi.Gui.Controls.WalletExplorer
private int _coinJoinUntilAnonymitySet;
private TargetPrivacy _targetPrivacy;
- public CoinJoinTabViewModel(WalletService walletService, WalletViewModel walletViewModel)
+ public CoinJoinTabViewModel(WalletViewModel walletViewModel)
: base("CoinJoin", walletViewModel)
{
Global = Locator.Current.GetService<Global>();
- WalletService = walletService;
Password = "";
TimeLeftTillRoundTimeout = TimeSpan.Zero;
@@ -133,8 +132,6 @@ namespace WalletWasabi.Gui.Controls.WalletExplorer
private Global Global { get; }
- private WalletService WalletService { get; }
-
public override void OnOpen()
{
base.OnOpen();

MODIFY
WalletWasabi.Gui/Controls/WalletExplorer/WalletViewModel.cs
WalletWasabi.Gui/Controls/WalletExplorer/WalletViewModel.cs
@@ -65,7 +65,7 @@ namespace WalletWasabi.Gui.Controls.WalletExplorer
}
var receiveTab = new ReceiveTabViewModel(this);
- var coinjoinTab = new CoinJoinTabViewModel(WalletService, this);
+ var coinjoinTab = new CoinJoinTabViewModel(this);
var historyTab = new HistoryTabViewModel(this);
var advancedAction = new WalletAdvancedViewModel(this);

Remove ws from constructor