Use the correct lock
MODIFY
WalletWasabi/Blockchain/Keys/KeyManager.cs
WalletWasabi/Blockchain/Keys/KeyManager.cs
@@ -768,12 +768,9 @@ namespace WalletWasabi.Blockchain.Keys
}
public void SetIcon(string icon)
- {
- lock (BlockchainStateLock)
{
Icon = icon;
- ToFileNoBlockchainStateLock();
- }
+ ToFile();
}
public void SetIcon(WalletType type)

Use the correct lock