aboutsummaryrefslogtreecommitdiff
path: root/wizard/WizardController.qml
diff options
context:
space:
mode:
authorselsta <selsta@sent.at>2021-04-20 21:44:23 +0200
committerselsta <selsta@sent.at>2021-04-20 21:44:23 +0200
commitbecc74714b51e43fd71314701fba35bdab3af5a1 (patch)
tree43538930dae3a683b14df597d94c848f7a27c4a2 /wizard/WizardController.qml
parent02ae14fd6bcd705ed838fba627775e4d8d52b5f3 (diff)
downloadmonzero-gui-becc74714b51e43fd71314701fba35bdab3af5a1.tar.gz
monzero-gui-becc74714b51e43fd71314701fba35bdab3af5a1.tar.xz
monzero-gui-becc74714b51e43fd71314701fba35bdab3af5a1.zip
WalletManager: support kdf round in device wallet restore
Diffstat (limited to 'wizard/WizardController.qml')
-rw-r--r--wizard/WizardController.qml3
1 files changed, 2 insertions, 1 deletions
diff --git a/wizard/WizardController.qml b/wizard/WizardController.qml
index 7467fb3d..ba5266e0 100644
--- a/wizard/WizardController.qml
+++ b/wizard/WizardController.qml
@@ -450,12 +450,13 @@ Rectangle {
tmpWalletFilename = oshelper.temporaryFilename();
console.log("Creating temporary wallet", tmpWalletFilename)
var nettype = persistentSettings.nettype;
+ var kdfRounds = persistentSettings.kdfRounds;
var restoreHeight = wizardController.walletOptionsRestoreHeight;
var subaddressLookahead = wizardController.walletOptionsSubaddressLookahead;
var deviceName = wizardController.walletOptionsDeviceName;
connect();
- walletManager.createWalletFromDeviceAsync(tmpWalletFilename, "", nettype, deviceName, restoreHeight, subaddressLookahead);
+ walletManager.createWalletFromDeviceAsync(tmpWalletFilename, "", nettype, deviceName, restoreHeight, subaddressLookahead, kdfRounds);
creatingWalletDeviceSplash();
}