Fix missing subscription to collectionchanged and missed running of refreshcoinhistories
MODIFY
WalletWasabi/Services/WalletService.cs
WalletWasabi/Services/WalletService.cs
@@ -287,8 +287,8 @@ namespace WalletWasabi.Services
File.Delete(TransactionsFilePath);
}
- if (transactions is null || !transactions.Any()) return;
-
+ if (transactions != null && transactions.Any())
+ {
using (var client = new WasabiClient(Synchronizer.WasabiClient.TorClient.DestinationUriAction, Synchronizer.WasabiClient.TorClient.TorSocks5EndPoint))
{
var mempoolHashes = await client.GetMempoolHashesAsync();
@@ -307,6 +307,7 @@ namespace WalletWasabi.Services
}
}
}
+ }
catch (Exception ex)
{
Logger.LogWarning<WalletService>(ex);

Fix missing subscription to collectionchanged and missed running of refreshcoinhistories