mirror of
https://github.com/monero-project/monero.git
synced 2024-12-24 20:49:37 +00:00
Merge pull request #1497
50511677
wallet2: fix large reorgs failing (moneromooo-monero)
This commit is contained in:
commit
03497f0268
1 changed files with 1 additions and 1 deletions
|
@ -1631,7 +1631,7 @@ void wallet2::refresh(uint64_t start_height, uint64_t & blocks_fetched, bool& re
|
|||
process_blocks(blocks_start_height, blocks, o_indices, added_blocks);
|
||||
blocks_fetched += added_blocks;
|
||||
pull_thread.join();
|
||||
if(!added_blocks)
|
||||
if(blocks_start_height == next_blocks_start_height)
|
||||
break;
|
||||
|
||||
// switch to the new blocks from the daemon
|
||||
|
|
Loading…
Reference in a new issue