Skip to content

Commit 630fcdf

Browse files
committed
modify syncpool test
1 parent 78059cd commit 630fcdf

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

src/main/java/org/tron/common/overlay/server/SyncPool.java

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -221,10 +221,6 @@ public boolean test(NodeHandler handler) {
221221
return false;
222222
}
223223

224-
if (handler.getNodeStatistics().getReputation() >= NodeStatistics.REPUTATION_PREDEFINED) {
225-
return true;
226-
}
227-
228224
InetAddress inetAddress = handler.getInetSocketAddress().getAddress();
229225
if (channelManager.getRecentlyDisconnected().getIfPresent(inetAddress) != null) {
230226
return false;

0 commit comments

Comments
 (0)