diff options
author | moneromooo-monero <moneromooo-monero@users.noreply.github.com> | 2017-09-29 19:06:14 +0100 |
---|---|---|
committer | moneromooo-monero <moneromooo-monero@users.noreply.github.com> | 2017-09-29 19:06:14 +0100 |
commit | bf2d911365929bdfc96db644e9c8164a4bdcc69b (patch) | |
tree | c30d1dee105166e37f8c65e7fbc070856870634a /src/simplewallet/simplewallet.cpp | |
parent | Merge pull request #2533 (diff) | |
download | monero-bf2d911365929bdfc96db644e9c8164a4bdcc69b.tar.xz |
simplewallet: fix --restore-from-height being ignored
Diffstat (limited to 'src/simplewallet/simplewallet.cpp')
-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 937403c66..9c736aa03 100644 --- a/src/simplewallet/simplewallet.cpp +++ b/src/simplewallet/simplewallet.cpp @@ -1398,8 +1398,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 { |