mirror of
https://git.wownero.com/wownero/wownero.git
synced 2024-12-22 23:08:53 +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
@ -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 New Issue
Block a user