Router: fix broken null check in shouldThrottleBurstLookup

This commit is contained in:
eyedeekay
2023-10-17 12:30:40 -04:00
parent 2af65243a4
commit c67ff1376a

View File

@@ -258,7 +258,7 @@ public class FloodfillNetworkDatabaseFacade extends KademliaNetworkDatabaseFacad
boolean shouldThrottleBurstLookup(Hash from, TunnelId id) {
// null before startup
return _lookupThrottler == null || _lookupThrottlerBurst.shouldThrottle(from, id);
return _lookupThrottlerBurst == null || _lookupThrottlerBurst.shouldThrottle(from, id);
}
/**