no need to pass the wallet to transactioninfo
MODIFY
WalletWasabi.Fluent/ViewModels/Wallets/Send/SendViewModel.cs
WalletWasabi.Fluent/ViewModels/Wallets/Send/SendViewModel.cs
@@ -55,7 +55,7 @@ namespace WalletWasabi.Fluent.ViewModels.Wallets.Send
{
_to = "";
_wallet = wallet;
- _transactionInfo = new TransactionInfo(_wallet);
+ _transactionInfo = new TransactionInfo();
SuggestionLabels = new SuggestionLabelsViewModel(3);

MODIFY
WalletWasabi.Fluent/ViewModels/Wallets/Send/TransactionInfo.cs
WalletWasabi.Fluent/ViewModels/Wallets/Send/TransactionInfo.cs
@@ -16,9 +16,9 @@ namespace WalletWasabi.Fluent.ViewModels.Wallets.Send
[AutoNotify] private Money _amount = Money.Zero;
- public TransactionInfo(Wallet wallet)
+ public TransactionInfo()
{
- _privateCoinThreshold = wallet.ServiceConfiguration.GetMixUntilAnonymitySetValue();
+ _privateCoinThreshold = Services.Config.MixUntilAnonymitySetValue;
this.WhenAnyValue(x => x.Amount)
.Subscribe(_ => OnAmountChanged());

no need to pass the wallet to transactioninfo