forked from lthn/blockchain
fixed bug in wallet regarding genesis reset
This commit is contained in:
parent
a582473cea
commit
b9facc0b6e
1 changed files with 1 additions and 1 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue