Remove leftorver property
MODIFY
WalletWasabi.Fluent/Global.cs
WalletWasabi.Fluent/Global.cs
@@ -144,7 +144,7 @@ public class Global
{
var bstoreInitTask = BitcoinStore.InitializeAsync(cancel);
- HostedServices.Register<UpdateChecker>(() => new UpdateChecker(TimeSpan.FromMinutes(7), Synchronizer, UpdateManager), "Software Update Checker");
+ HostedServices.Register<UpdateChecker>(() => new UpdateChecker(TimeSpan.FromMinutes(7), Synchronizer), "Software Update Checker");
var updateChecker = HostedServices.Get<UpdateChecker>();
UpdateManager.Initialize(updateChecker);

MODIFY
WalletWasabi/Services/UpdateChecker.cs
WalletWasabi/Services/UpdateChecker.cs
@@ -9,12 +9,11 @@ namespace WalletWasabi.Services;
public class UpdateChecker : PeriodicRunner
{
- public UpdateChecker(TimeSpan period, WasabiSynchronizer synchronizer, UpdateManager updateManager) : base(period)
+ public UpdateChecker(TimeSpan period, WasabiSynchronizer synchronizer) : base(period)
{
Synchronizer = synchronizer;
UpdateStatus = new UpdateStatus(true, true, new Version(), 0, new Version());
WasabiClient = Synchronizer.HttpClientFactory.SharedWasabiClient;
- UpdateManager = updateManager;
Synchronizer.PropertyChanged += Synchronizer_PropertyChanged;
}
@@ -25,7 +24,6 @@ public class UpdateChecker : PeriodicRunner
private WasabiSynchronizer Synchronizer { get; }
public UpdateStatus UpdateStatus { get; private set; }
public WasabiClient WasabiClient { get; }
- public UpdateManager UpdateManager { get; }
private void Synchronizer_PropertyChanged(object? sender, PropertyChangedEventArgs e)
{

Remove leftorver property