File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -378,9 +378,6 @@ Rectangle {
378378 console .log (" Removing temporary wallet: " + wizardController .tmpWalletFilename )
379379 oshelper .removeTemporaryWallet (wizardController .tmpWalletFilename )
380380
381- // protecting wallet with password
382- wizardController .m_wallet .setPassword (wizardController .walletOptionsPassword );
383-
384381 // save to persistent settings
385382 persistentSettings .account_name = wizardController .walletOptionsName
386383 persistentSettings .wallet_path = wizardController .m_wallet .path ;
@@ -399,6 +396,7 @@ Rectangle {
399396 new_wallet_filename = appWindow .accountsDir + new_wallet_filename;
400397 }
401398 console .log (" saving new wallet to" , new_wallet_filename);
399+ wizardController .m_wallet .setPassword (wizardController .walletOptionsPassword );
402400 wizardController .m_wallet .storeAsync (handler, new_wallet_filename);
403401 }
404402
You can’t perform that action at this time.
0 commit comments