You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
// Legacy wallets are being deprecated, warn if the loaded wallet is legacy
292
-
if (!wallet->IsWalletFlagSet(WALLET_FLAG_DESCRIPTORS)) {
293
-
warnings.emplace_back(_("Wallet loaded successfully. The legacy wallet type is being deprecated and support for creating and opening legacy wallets will be removed in the future. Legacy wallets can be migrated to a descriptor wallet with migratewallet."));
// Descriptor support must be enabled for an external signer wallet
408
-
if ((wallet_creation_flags & WALLET_FLAG_EXTERNAL_SIGNER) && !(wallet_creation_flags & WALLET_FLAG_DESCRIPTORS)) {
409
-
error = Untranslated("Descriptor support must be enabled when using an external signer");
410
-
status = DatabaseStatus::FAILED_CREATE;
411
-
returnnullptr;
412
-
}
413
-
414
399
// Do not allow a passphrase when private keys are disabled
415
400
if (!passphrase.empty() && (wallet_creation_flags & WALLET_FLAG_DISABLE_PRIVATE_KEYS)) {
416
401
error = Untranslated("Passphrase provided but private keys are disabled. A passphrase is only used to encrypt private keys, so cannot be used for wallets with private keys disabled.");
// Legacy wallets are being deprecated, warn if a newly created wallet is legacy
482
-
if (!(wallet_creation_flags & WALLET_FLAG_DESCRIPTORS)) {
483
-
warnings.emplace_back(_("Wallet created successfully. The legacy wallet type is being deprecated and support for creating and opening legacy wallets will be removed in the future."));
0 commit comments