Remove leftover event
MODIFY
WalletWasabi.Gui/ViewModels/StatusBarViewModel.cs
WalletWasabi.Gui/ViewModels/StatusBarViewModel.cs
@@ -151,21 +151,6 @@ namespace WalletWasabi.Gui.ViewModels
})
.DisposeWith(Disposables);
- Observable.FromEventPattern<bool>(typeof(WalletService), nameof(WalletService.InitializingTransactionsChanged))
- .ObserveOn(RxApp.MainThreadScheduler)
- .Subscribe(x =>
- {
- if (x.EventArgs)
- {
- TryAddStatus(StatusType.WalletProcessingTransactions);
- }
- else
- {
- TryRemoveStatus(StatusType.WalletProcessingTransactions);
- }
- })
- .DisposeWith(Disposables);
-
Synchronizer.WhenAnyValue(x => x.TorStatus)
.ObserveOn(RxApp.MainThreadScheduler)
.Subscribe(status => Tor = UseTor ? status : TorStatus.TurnedOff)

MODIFY
WalletWasabi/Services/WalletService.cs
WalletWasabi/Services/WalletService.cs
@@ -38,8 +38,6 @@ namespace WalletWasabi.Services
public static event EventHandler<bool> InitializingChanged;
- public static event EventHandler<bool> InitializingTransactionsChanged;
-
public BitcoinStore BitcoinStore { get; }
public KeyManager KeyManager { get; }
public WasabiSynchronizer Synchronizer { get; }
@@ -272,15 +270,7 @@ namespace WalletWasabi.Services
KeyManager.AssertNetworkOrClearBlockState(Network);
Height bestKeyManagerHeight = KeyManager.GetBestHeight();
- try
- {
- InitializingTransactionsChanged?.Invoke(null, true);
TransactionProcessor.Process(BitcoinStore.TransactionStore.ConfirmedStore.GetTransactions().TakeWhile(x => x.Height <= bestKeyManagerHeight));
- }
- finally
- {
- InitializingTransactionsChanged?.Invoke(null, false);
- }
// Go through the filters and queue to download the matches.
await BitcoinStore.IndexStore.ForeachFiltersAsync(async (filterModel) =>

Remove leftover event