Added missing break statement if a peer fails to respond with blocks when resolving a fork via fast sync.

This commit is contained in:
CalDescent 2021-03-28 16:52:15 +01:00
parent cb80280eaf
commit f2bbafe6c2

View File

@ -399,6 +399,7 @@ public class Synchronizer {
if (peerBlocks.isEmpty()) {
return SynchronizationResult.NO_REPLY;
}
break;
}
LOGGER.debug(String.format("Received %d blocks from peer %s", blocks.size(), peer));