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/simplewallet/simplewallet.cpp | |
| parent | bb268cad9685d17b8766d96b8b9191dc7b0bed44 (diff) | |
| parent | bf2d911365929bdfc96db644e9c8164a4bdcc69b (diff) | |
| download | monzero-core-ce1016254a11255845205023f9359ee124d72987.tar.gz monzero-core-ce1016254a11255845205023f9359ee124d72987.tar.xz monzero-core-ce1016254a11255845205023f9359ee124d72987.zip | |
Merge pull request #2549
bf2d9113 simplewallet: fix --restore-from-height being ignored (moneromooo-monero)
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 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 { |
