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 /src/simplewallet/simplewallet.cpp | |
| parent | c84d559fb11af84bcca27cfb8328334cdbc318b8 (diff) | |
| parent | 53fcd15953914f088a32f307ed21ccebd968f52f (diff) | |
| download | monzero-core-8e4c0de46a1f2c761678f9444709a64e76588fb2.tar.gz monzero-core-8e4c0de46a1f2c761678f9444709a64e76588fb2.tar.xz monzero-core-8e4c0de46a1f2c761678f9444709a64e76588fb2.zip | |
Merge pull request #5035
53fcd159 simplewallet: don't subtract 1 to estimate blockchain height (moneromooo-monero)
Diffstat (limited to 'src/simplewallet/simplewallet.cpp')
| -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(); } |
