aboutsummaryrefslogtreecommitdiff
path: root/wizard/WizardController.qml
diff options
context:
space:
mode:
authorluigi1111 <luigi1111w@gmail.com>2026-03-02 19:19:33 -0500
committerluigi1111 <luigi1111w@gmail.com>2026-03-02 19:19:33 -0500
commit4eb77491ebf9aba8eaeb125988ee90119ec85038 (patch)
treefd5d387db002bb65569c8a5c618db5661065bb8f /wizard/WizardController.qml
parent57f6ae27617bf5c6745382f3878a9923acfc2d83 (diff)
parenteb25d4cafae05959374754b4fb1bf5b960279048 (diff)
downloadmonzero-gui-4eb77491ebf9aba8eaeb125988ee90119ec85038.tar.gz
monzero-gui-4eb77491ebf9aba8eaeb125988ee90119ec85038.tar.xz
monzero-gui-4eb77491ebf9aba8eaeb125988ee90119ec85038.zip
Merge pull request #4571
eb25d4c WizardController: set password before storing wallet (selsta)
Diffstat (limited to 'wizard/WizardController.qml')
-rw-r--r--wizard/WizardController.qml4
1 files changed, 1 insertions, 3 deletions
diff --git a/wizard/WizardController.qml b/wizard/WizardController.qml
index eb727098..a7932fd7 100644
--- a/wizard/WizardController.qml
+++ b/wizard/WizardController.qml
@@ -378,9 +378,6 @@ Rectangle {
console.log("Removing temporary wallet: " + wizardController.tmpWalletFilename)
oshelper.removeTemporaryWallet(wizardController.tmpWalletFilename)
- // protecting wallet with password
- wizardController.m_wallet.setPassword(wizardController.walletOptionsPassword);
-
// save to persistent settings
persistentSettings.account_name = wizardController.walletOptionsName
persistentSettings.wallet_path = wizardController.m_wallet.path;
@@ -399,6 +396,7 @@ Rectangle {
new_wallet_filename = appWindow.accountsDir + new_wallet_filename;
}
console.log("saving new wallet to", new_wallet_filename);
+ wizardController.m_wallet.setPassword(wizardController.walletOptionsPassword);
wizardController.m_wallet.storeAsync(handler, new_wallet_filename);
}