recovered wallet must be synchronized
MODIFY
WalletWasabi/Blockchain/Keys/KeyManager.cs
WalletWasabi/Blockchain/Keys/KeyManager.cs
@@ -211,7 +211,7 @@ public class KeyManager
public static KeyManager CreateNewWatchOnly(ExtPubKey extPubKey, string? filePath = null)
{
- return new KeyManager(null, null, null, extPubKey, false, AbsoluteMinGapLimit, new BlockchainState(), filePath);
+ return new KeyManager(null, null, null, extPubKey, isNewlyCreated: false, AbsoluteMinGapLimit, new BlockchainState(), filePath);
}
public static KeyManager CreateNewHardwareWalletWatchOnly(HDFingerprint masterFingerprint, ExtPubKey extPubKey, Network network, string? filePath = null)
@@ -231,7 +231,7 @@ public class KeyManager
KeyPath keyPath = accountKeyPath ?? DefaultAccountKeyPath;
ExtPubKey extPubKey = extKey.Derive(keyPath).Neuter();
- return new KeyManager(encryptedSecret, extKey.ChainCode, masterFingerprint, extPubKey, true, minGapLimit, new BlockchainState(network), filePath, keyPath);
+ return new KeyManager(encryptedSecret, extKey.ChainCode, masterFingerprint, extPubKey, isNewlyCreated: false, minGapLimit, new BlockchainState(network), filePath, keyPath);
}
public static KeyManager FromFile(string filePath)

recovered wallet must be synchronized