From bf2d911365929bdfc96db644e9c8164a4bdcc69b Mon Sep 17 00:00:00 2001 From: moneromooo-monero Date: Fri, 29 Sep 2017 19:06:14 +0100 Subject: [PATCH] simplewallet: fix --restore-from-height being ignored --- src/simplewallet/simplewallet.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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 {