Skip to content
Permalink
Browse files

Fix constant re-queueing of emerges that will always be unsuccessful

  • Loading branch information
sfan5 committed May 24, 2020
1 parent a9d6be8 commit 5430770b6851a18417f6b2629c9167a5aa38baa5
Showing with 3 additions and 3 deletions.
  1. +3 −3 src/clientiface.cpp
@@ -344,10 +344,10 @@ void RemoteClient::GetNextBlocks (
}

/*
If block has been marked to not exist on disk (dummy)
and generating new ones is not wanted, skip block.
If block has been marked to not exist on disk (dummy) or is
not generated and generating new ones is not wanted, skip block.
*/
if (!generate && surely_not_found_on_disk) {
if (!generate && (surely_not_found_on_disk || block_is_invalid)) {
// get next one.
continue;
}

0 comments on commit 5430770

Please sign in to comment.
You can’t perform that action at this time.