forked from lthn/blockchain
fixed bug in wallet sync process
This commit is contained in:
parent
40f1e1a870
commit
30e400b2d0
1 changed files with 1 additions and 1 deletions
|
|
@ -1229,7 +1229,7 @@ void wallet2::handle_pulled_blocks(size_t& blocks_added, std::atomic<bool>& 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 << "}");
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue