forked from Qortal/qortal
Added missing break statement if a peer fails to respond with blocks when resolving a fork via fast sync.
This commit is contained in:
parent
cb80280eaf
commit
f2bbafe6c2
@ -399,6 +399,7 @@ public class Synchronizer {
|
|||||||
if (peerBlocks.isEmpty()) {
|
if (peerBlocks.isEmpty()) {
|
||||||
return SynchronizationResult.NO_REPLY;
|
return SynchronizationResult.NO_REPLY;
|
||||||
}
|
}
|
||||||
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
LOGGER.debug(String.format("Received %d blocks from peer %s", blocks.size(), peer));
|
LOGGER.debug(String.format("Received %d blocks from peer %s", blocks.size(), peer));
|
||||||
|
Loading…
Reference in New Issue
Block a user