mirror of
https://github.com/monero-project/monero-gui.git
synced 2024-11-16 15:58:11 +00:00
Merge pull request #1082
4c9e2c1
[Issue 1080] Fixed undefined variable for password rewrite when changing wallet initial block height
This commit is contained in:
commit
39db876fee
2 changed files with 4 additions and 4 deletions
2
main.qml
2
main.qml
|
@ -224,7 +224,7 @@ ApplicationWindow {
|
|||
var wallet_path = walletPath();
|
||||
if(isIOS)
|
||||
wallet_path = moneroAccountsDir + wallet_path;
|
||||
// console.log("opening wallet at: ", wallet_path, "with password: ", appWindow.password);
|
||||
// console.log("opening wallet at: ", wallet_path, "with password: ", appWindow.walletPassword);
|
||||
console.log("opening wallet at: ", wallet_path, ", testnet: ", persistentSettings.testnet);
|
||||
walletManager.openWalletAsync(wallet_path, walletPassword,
|
||||
persistentSettings.testnet);
|
||||
|
|
|
@ -128,7 +128,7 @@ Rectangle {
|
|||
confirmationDialog.onAcceptedCallback = function() {
|
||||
walletManager.closeWallet();
|
||||
walletManager.clearWalletCache(persistentSettings.wallet_path);
|
||||
walletManager.openWalletAsync(persistentSettings.wallet_path, appWindow.password,
|
||||
walletManager.openWalletAsync(persistentSettings.wallet_path, appWindow.walletPassword,
|
||||
persistentSettings.testnet);
|
||||
}
|
||||
|
||||
|
@ -580,7 +580,7 @@ Rectangle {
|
|||
onClicked: {
|
||||
currentWallet.walletCreationHeight = restoreHeight.text
|
||||
// Restore height is saved in .keys file. Set password to trigger rewrite.
|
||||
currentWallet.setPassword(appWindow.password)
|
||||
currentWallet.setPassword(appWindow.walletPassword)
|
||||
restoreHeightRow.visible = false
|
||||
|
||||
// Show confirmation dialog
|
||||
|
@ -597,7 +597,7 @@ Rectangle {
|
|||
confirmationDialog.onAcceptedCallback = function() {
|
||||
walletManager.closeWallet();
|
||||
walletManager.clearWalletCache(persistentSettings.wallet_path);
|
||||
walletManager.openWalletAsync(persistentSettings.wallet_path, appWindow.password,
|
||||
walletManager.openWalletAsync(persistentSettings.wallet_path, appWindow.walletPassword,
|
||||
persistentSettings.testnet);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue