aboutsummaryrefslogtreecommitdiff
path: root/wizard/WizardController.qml
diff options
context:
space:
mode:
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();
}