1
0
Fork 0
forked from lthn/blockchain

fixed bug in wallet regarding genesis reset

This commit is contained in:
cryptozoidberg 2022-11-25 22:03:21 +01:00
parent a582473cea
commit b9facc0b6e
No known key found for this signature in database
GPG key ID: 22DEB97A54C6FDEC

View file

@ -1782,7 +1782,7 @@ void wallet2::handle_pulled_blocks(size_t& blocks_added, std::atomic<bool>& stop
m_chain.clear();
}
}
else if (height == processed_blocks_count)
else if (height == processed_blocks_count && been_matched_block)
{
//regular block handling
//self check