|
|
|
@ -228,9 +228,6 @@ ApplicationWindow {
|
|
|
|
|
if (typeof wizard.m_wallet !== 'undefined') {
|
|
|
|
|
console.log("using wizard wallet")
|
|
|
|
|
//Set restoreHeight
|
|
|
|
|
if (persistentSettings.restore_height == 0 && persistentSettings.is_recovering_from_device && walletManager.localDaemonSynced()) {
|
|
|
|
|
persistentSettings.restore_height = walletManager.blockchainHeight() - 1;
|
|
|
|
|
}
|
|
|
|
|
if(persistentSettings.restore_height > 0){
|
|
|
|
|
// We store restore height in own variable for performance reasons.
|
|
|
|
|
restoreHeight = persistentSettings.restore_height
|
|
|
|
|