diff options
author | luigi1111 <luigi1111w@gmail.com> | 2019-08-15 17:14:58 -0500 |
---|---|---|
committer | luigi1111 <luigi1111w@gmail.com> | 2019-08-15 17:14:58 -0500 |
commit | c5e926676a9f09a0916606569099757dd942acb9 (patch) | |
tree | c75df993c5c6e75b143a7a6054d8b740c6f32943 /src/simplewallet | |
parent | Merge pull request #5652 (diff) | |
parent | Fix --restore-date usage (diff) | |
download | monero-c5e926676a9f09a0916606569099757dd942acb9.tar.xz |
Merge pull request #5656
8ccc30b Fix --restore-date usage (hyc)
Diffstat (limited to 'src/simplewallet')
-rw-r--r-- | src/simplewallet/simplewallet.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/simplewallet/simplewallet.cpp b/src/simplewallet/simplewallet.cpp index fca14c8f8..10901bb51 100644 --- a/src/simplewallet/simplewallet.cpp +++ b/src/simplewallet/simplewallet.cpp @@ -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)) { |