aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorluigi1111 <luigi1111w@gmail.com>2019-08-15 17:14:58 -0500
committerluigi1111 <luigi1111w@gmail.com>2019-08-15 17:14:58 -0500
commitc5e926676a9f09a0916606569099757dd942acb9 (patch)
treec75df993c5c6e75b143a7a6054d8b740c6f32943 /src
parentMerge pull request #5652 (diff)
parentFix --restore-date usage (diff)
downloadmonero-c5e926676a9f09a0916606569099757dd942acb9.tar.xz
Merge pull request #5656
8ccc30b Fix --restore-date usage (hyc)
Diffstat (limited to 'src')
-rw-r--r--src/simplewallet/simplewallet.cpp2
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))
{