mirror of
https://github.com/monero-project/monero.git
synced 2024-11-17 16:27:39 +00:00
Fix --restore-date usage
The wallet was ignoring --restore-height and --restore-date params and prompting for them again.
This commit is contained in:
parent
6335509727
commit
8ccc30b163
1 changed files with 1 additions and 1 deletions
|
@ -3970,7 +3970,7 @@ bool simple_wallet::init(const boost::program_options::variables_map& vm)
|
|||
|
||||
if (m_restoring && m_generate_from_json.empty() && m_generate_from_device.empty())
|
||||
{
|
||||
m_wallet->explicit_refresh_from_block_height(!(command_line::is_arg_defaulted(vm, arg_restore_height) ||
|
||||
m_wallet->explicit_refresh_from_block_height(!(command_line::is_arg_defaulted(vm, arg_restore_height) &&
|
||||
command_line::is_arg_defaulted(vm, arg_restore_date)));
|
||||
if (command_line::is_arg_defaulted(vm, arg_restore_height) && !command_line::is_arg_defaulted(vm, arg_restore_date))
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue