Merge pull request #2549

bf2d9113 simplewallet: fix --restore-from-height being ignored (moneromooo-monero)
This commit is contained in:
Riccardo Spagni 2017-10-15 17:30:52 +02:00
commit ce1016254a
No known key found for this signature in database
GPG Key ID: 55432DF31CCD4FCD
1 changed files with 2 additions and 1 deletions

View File

@ -1450,8 +1450,9 @@ bool simple_wallet::init(const boost::program_options::variables_map& vm)
}
}
}
m_wallet->set_refresh_from_block_height(m_restore_height);
}
if (m_restoring)
m_wallet->set_refresh_from_block_height(m_restore_height);
}
else
{