Skip to content

Commit

Permalink
Merge pull request #5656
Browse files Browse the repository at this point in the history
8ccc30b Fix --restore-date usage (hyc)
  • Loading branch information
luigi1111 committed Aug 15, 2019
2 parents 86ee631 + 8ccc30b commit c5e9266
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/simplewallet/simplewallet.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -3972,7 +3972,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))
{
Expand Down

0 comments on commit c5e9266

Please sign in to comment.