aboutsummaryrefslogtreecommitdiff
path: root/wizard/WizardController.qml
diff options
context:
space:
mode:
authorselsta <selsta@sent.at>2026-01-19 19:24:10 +0100
committerselsta <selsta@sent.at>2026-01-19 21:24:31 +0100
commit2ddb55059123815bebad0e3c4c0853328275f060 (patch)
tree263c44d771d86158cfb64d59ca935e2c900d3aca /wizard/WizardController.qml
parente984c28fafc224df0f3d9e24a3ed942af5cf929f (diff)
downloadmonzero-gui-2ddb55059123815bebad0e3c4c0853328275f060.tar.gz
monzero-gui-2ddb55059123815bebad0e3c4c0853328275f060.tar.xz
monzero-gui-2ddb55059123815bebad0e3c4c0853328275f060.zip
WizardController: set password for temp wallet
Diffstat (limited to 'wizard/WizardController.qml')
-rw-r--r--wizard/WizardController.qml4
1 files changed, 2 insertions, 2 deletions
diff --git a/wizard/WizardController.qml b/wizard/WizardController.qml
index 1bc5ca96..eb727098 100644
--- a/wizard/WizardController.qml
+++ b/wizard/WizardController.qml
@@ -345,7 +345,7 @@ Rectangle {
console.log("Creating temporary wallet", tmp_wallet_filename)
var nettype = appWindow.persistentSettings.nettype;
var kdfRounds = appWindow.persistentSettings.kdfRounds;
- var wallet = walletManager.createWallet(tmp_wallet_filename, "", persistentSettings.language_wallet, nettype, kdfRounds)
+ var wallet = walletManager.createWallet(tmp_wallet_filename, oshelper.randomPassword(), persistentSettings.language_wallet, nettype, kdfRounds)
wizardController.walletOptionsSeed = wallet.seed
@@ -479,7 +479,7 @@ Rectangle {
var deviceName = wizardController.walletOptionsDeviceName;
connect();
- walletManager.createWalletFromDeviceAsync(tmpWalletFilename, "", nettype, deviceName, restoreHeight, subaddressLookahead, kdfRounds);
+ walletManager.createWalletFromDeviceAsync(tmpWalletFilename, oshelper.randomPassword(), nettype, deviceName, restoreHeight, subaddressLookahead, kdfRounds);
creatingWalletDeviceSplash();
}