Skip to content

Commit

Permalink
Router: fix broken null check in shouldThrottleBurstLookup
Browse files Browse the repository at this point in the history
  • Loading branch information
eyedeekay committed Oct 17, 2023
1 parent 363375f commit eb0f91e
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -258,7 +258,7 @@ boolean shouldThrottleLookup(Hash from, TunnelId id) {

boolean shouldThrottleBurstLookup(Hash from, TunnelId id) {
// null before startup
return _lookupThrottler == null || _lookupThrottlerBurst.shouldThrottle(from, id);
return _lookupThrottlerBurst == null || _lookupThrottlerBurst.shouldThrottle(from, id);
}

/**
Expand Down

0 comments on commit eb0f91e

Please sign in to comment.