diff --git a/src/wallet/wallet2.cpp b/src/wallet/wallet2.cpp index 853995c96..016b19042 100644 --- a/src/wallet/wallet2.cpp +++ b/src/wallet/wallet2.cpp @@ -8840,7 +8840,7 @@ void wallet2::import_blockchain(const std::tuple(bc)) { - for (size_t n = std::get<0>(bc); n > 0; ++n) + for (size_t n = std::get<0>(bc); n > 0; --n) m_blockchain.push_back(std::get<1>(bc)); m_blockchain.trim(std::get<0>(bc)); }