mirror of
https://github.com/monero-project/monero-gui.git
synced 2026-04-01 22:57:25 -04:00
WalletManager: wallet recovery - seed offset passphrase support
This commit is contained in:
@@ -59,6 +59,7 @@ Rectangle {
|
||||
wizardController.walletOptionsLocation = '';
|
||||
wizardController.walletOptionsPassword = '';
|
||||
wizardController.walletOptionsSeed = '';
|
||||
wizardController.walletOptionsSeedOffset = '';
|
||||
wizardController.walletOptionsRecoverAddress = ''
|
||||
wizardController.walletOptionsRecoverViewkey = ''
|
||||
wizardController.walletOptionsRecoverSpendkey = ''
|
||||
@@ -92,6 +93,7 @@ Rectangle {
|
||||
property string walletOptionsLocation: ''
|
||||
property string walletOptionsPassword: ''
|
||||
property string walletOptionsSeed: ''
|
||||
property string walletOptionsSeedOffset: ''
|
||||
property string walletOptionsRecoverAddress: ''
|
||||
property string walletOptionsRecoverViewkey: ''
|
||||
property string walletOptionsRecoverSpendkey: ''
|
||||
@@ -394,7 +396,7 @@ Rectangle {
|
||||
var wallet = ''
|
||||
// From seed or keys
|
||||
if(wizardController.walletRestoreMode === 'seed')
|
||||
wallet = walletManager.recoveryWallet(tmp_wallet_filename, wizardController.walletOptionsSeed, nettype, restoreHeight, kdfRounds)
|
||||
wallet = walletManager.recoveryWallet(tmp_wallet_filename, wizardController.walletOptionsSeed, wizardController.walletOptionsSeedOffset, nettype, restoreHeight, kdfRounds);
|
||||
else
|
||||
wallet = walletManager.createWalletFromKeys(tmp_wallet_filename, wizardController.language_wallet, nettype,
|
||||
wizardController.walletOptionsRecoverAddress, wizardController.walletOptionsRecoverViewkey,
|
||||
|
||||
Reference in New Issue
Block a user