Skip to content

Commit eb0f91e

Browse files
author
eyedeekay
committed
Router: fix broken null check in shouldThrottleBurstLookup
1 parent 363375f commit eb0f91e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

router/java/src/net/i2p/router/networkdb/kademlia/FloodfillNetworkDatabaseFacade.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -258,7 +258,7 @@ boolean shouldThrottleLookup(Hash from, TunnelId id) {
258258

259259
boolean shouldThrottleBurstLookup(Hash from, TunnelId id) {
260260
// null before startup
261-
return _lookupThrottler == null || _lookupThrottlerBurst.shouldThrottle(from, id);
261+
return _lookupThrottlerBurst == null || _lookupThrottlerBurst.shouldThrottle(from, id);
262262
}
263263

264264
/**

0 commit comments

Comments
 (0)