Correctly advise rebuild of hashset.
MODIFY
WalletWasabi/Helpers/ConcurrentObservableHashSet.cs
WalletWasabi/Helpers/ConcurrentObservableHashSet.cs
@@ -56,7 +56,11 @@ namespace System.Collections.ObjectModel
if (ConcurrentHashSet.TryRemove(item))
{
CollectionChanged?.Invoke(this, new NotifyCollectionChangedEventArgs(NotifyCollectionChangedAction.Reset));
- CollectionChanged?.Invoke(this, new NotifyCollectionChangedEventArgs(NotifyCollectionChangedAction.Add, ConcurrentHashSet));
+
+ foreach (var hash in ConcurrentHashSet)
+ {
+ CollectionChanged?.Invoke(this, new NotifyCollectionChangedEventArgs(NotifyCollectionChangedAction.Add, hash));
+ }
return true;
}
return false;

Correctly advise rebuild of hashset.