mirror of
https://git.wownero.com/wownero/wownero.git
synced 2024-08-15 01:03:23 +00:00
Merge pull request #3416
6f54c910
simplewallet: fix restore height prompt that got disabled by #3175 (stoffu)
This commit is contained in:
commit
a14eabc043
1 changed files with 5 additions and 0 deletions
|
@ -2920,6 +2920,11 @@ bool simple_wallet::init(const boost::program_options::variables_map& vm)
|
||||||
r = new_wallet(vm, m_recovery_key, m_restore_deterministic_wallet, m_non_deterministic, old_language);
|
r = new_wallet(vm, m_recovery_key, m_restore_deterministic_wallet, m_non_deterministic, old_language);
|
||||||
CHECK_AND_ASSERT_MES(r, false, tr("account creation failed"));
|
CHECK_AND_ASSERT_MES(r, false, tr("account creation failed"));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (m_restoring && m_generate_from_json.empty())
|
||||||
|
{
|
||||||
|
m_wallet->explicit_refresh_from_block_height(!command_line::is_arg_defaulted(vm, arg_restore_height));
|
||||||
|
}
|
||||||
if (!m_wallet->explicit_refresh_from_block_height() && m_restoring)
|
if (!m_wallet->explicit_refresh_from_block_height() && m_restoring)
|
||||||
{
|
{
|
||||||
uint32_t version;
|
uint32_t version;
|
||||||
|
|
Loading…
Reference in a new issue