We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents e88bf90 + c2dc408 commit fee70c2Copy full SHA for fee70c2
1 file changed
framework/src/main/java/org/tron/core/net/service/sync/SyncService.java
@@ -292,7 +292,7 @@ private void processSyncBlock(BlockCapsule block) {
292
if (peer.getSyncBlockInProcess().remove(blockId)) {
293
if (flag) {
294
peer.setBlockBothHave(blockId);
295
- if (peer.getSyncBlockToFetch().isEmpty()) {
+ if (peer.getSyncBlockToFetch().isEmpty() && !peer.isFetchAble()) {
296
syncNext(peer);
297
}
298
} else {
0 commit comments