From 30e400b2d0ee82d45d17edd3f93d4d30248a3cd9 Mon Sep 17 00:00:00 2001 From: cryptozoidberg Date: Sun, 17 May 2020 18:20:02 +0200 Subject: [PATCH] fixed bug in wallet sync process --- src/wallet/wallet2.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/wallet/wallet2.cpp b/src/wallet/wallet2.cpp index 6835a6d2..b3646a78 100644 --- a/src/wallet/wallet2.cpp +++ b/src/wallet/wallet2.cpp @@ -1229,7 +1229,7 @@ void wallet2::handle_pulled_blocks(size_t& blocks_added, std::atomic& stop //TODO: get_block_hash is slow crypto::hash bl_id = get_block_hash(bl); - if (processed_blocks_count != 1 && height > processed_blocks_count) + if (processed_blocks_count != 1 && height > processed_blocks_count && height != m_minimum_height) {//internal error: WLT_THROW_IF_FALSE_WALLET_INT_ERR_EX(false, "height{" << height <<"} > processed_blocks_count{" << processed_blocks_count << "}");