diff options
author | Riccardo Spagni <ric@spagni.net> | 2019-01-16 21:40:56 +0200 |
---|---|---|
committer | Riccardo Spagni <ric@spagni.net> | 2019-01-16 21:40:56 +0200 |
commit | 8e4c0de46a1f2c761678f9444709a64e76588fb2 (patch) | |
tree | d7abb24e88da4b7e1c9260db35dcd2ccde7f5894 | |
parent | Merge pull request #5034 (diff) | |
parent | simplewallet: don't subtract 1 to estimate blockchain height (diff) | |
download | monero-8e4c0de46a1f2c761678f9444709a64e76588fb2.tar.xz |
Merge pull request #5035
53fcd159 simplewallet: don't subtract 1 to estimate blockchain height (moneromooo-monero)
-rw-r--r-- | src/simplewallet/simplewallet.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/simplewallet/simplewallet.cpp b/src/simplewallet/simplewallet.cpp index ea04485eb..835abf569 100644 --- a/src/simplewallet/simplewallet.cpp +++ b/src/simplewallet/simplewallet.cpp @@ -3729,7 +3729,7 @@ bool simple_wallet::init(const boost::program_options::variables_map& vm) if (std::cin.eof() || !command_line::is_yes(confirm)) CHECK_AND_ASSERT_MES(false, false, tr("account creation aborted")); - m_wallet->set_refresh_from_block_height(m_wallet->estimate_blockchain_height()-1); + m_wallet->set_refresh_from_block_height(m_wallet->estimate_blockchain_height()); m_wallet->explicit_refresh_from_block_height(true); m_restore_height = m_wallet->get_refresh_from_block_height(); } |