diff options
author | Riccardo Spagni <ric@spagni.net> | 2017-10-15 17:30:52 +0200 |
---|---|---|
committer | Riccardo Spagni <ric@spagni.net> | 2017-10-15 17:30:53 +0200 |
commit | ce1016254a11255845205023f9359ee124d72987 (patch) | |
tree | 16eefaf1f880e35f434cfaac79311cd68e59992d /src | |
parent | Merge pull request #2538 (diff) | |
parent | simplewallet: fix --restore-from-height being ignored (diff) | |
download | monero-ce1016254a11255845205023f9359ee124d72987.tar.xz |
Merge pull request #2549
bf2d9113 simplewallet: fix --restore-from-height being ignored (moneromooo-monero)
Diffstat (limited to 'src')
-rw-r--r-- | src/simplewallet/simplewallet.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/simplewallet/simplewallet.cpp b/src/simplewallet/simplewallet.cpp index 48739bc2d..990922743 100644 --- a/src/simplewallet/simplewallet.cpp +++ b/src/simplewallet/simplewallet.cpp @@ -1450,8 +1450,9 @@ bool simple_wallet::init(const boost::program_options::variables_map& vm) } } } - m_wallet->set_refresh_from_block_height(m_restore_height); } + if (m_restoring) + m_wallet->set_refresh_from_block_height(m_restore_height); } else { |