Implement missing non-newlycreted
MODIFY
WalletWasabi.Fluent/ViewModels/WalletManagerViewModel.cs
WalletWasabi.Fluent/ViewModels/WalletManagerViewModel.cs
@@ -139,6 +139,8 @@ public partial class WalletManagerViewModel : ViewModelBase
public async Task LoadWalletAsync(Wallet wallet)
{
+ wallet.KeyManager.SetNonNewlyCreated();
+
if (wallet.State != WalletState.Uninitialized)
{
throw new Exception("Wallet is already being logged in.");

MODIFY
WalletWasabi/Blockchain/Keys/KeyManager.cs
WalletWasabi/Blockchain/Keys/KeyManager.cs
@@ -407,6 +407,12 @@ public class KeyManager
}
}
+ public void SetNonNewlyCreated()
+ {
+ IsNewlyCreated = false;
+ ToFile();
+ }
+
public IEnumerable<HdPubKey> GetKeys(KeyState? keyState = null, bool? isInternal = null)
{
if (keyState is null)

Implement missing non-newlycreted