gui: Adds option to not load the wallet after migration

This commit is contained in:
Pol Espinasa
2026-07-27 18:43:50 +02:00
parent a2aab6df97
commit 492a715d78
4 changed files with 20 additions and 10 deletions

View File

@@ -323,7 +323,7 @@ public:
virtual util::Result<std::unique_ptr<Wallet>> restoreWallet(const fs::path& backup_file, const std::string& wallet_name, std::vector<bilingual_str>& warnings, bool load_after_restore) = 0;
//! Migrate a wallet
virtual util::Result<WalletMigrationResult> migrateWallet(const std::string& name, const SecureString& passphrase) = 0;
virtual util::Result<WalletMigrationResult> migrateWallet(const std::string& name, const SecureString& passphrase, bool load_wallet) = 0;
//! Returns true if wallet stores encryption keys
virtual bool isEncrypted(const std::string& wallet_name) = 0;