Skip to content

Commit

Permalink
Fix errors from rebase
Browse files Browse the repository at this point in the history
  • Loading branch information
pawanjay176 committed May 25, 2023
1 parent 7824bf9 commit ecd0b7f
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions beacon_node/lighthouse_network/src/rpc/rate_limiter.rs
Original file line number Diff line number Diff line change
Expand Up @@ -219,8 +219,6 @@ impl RPCRateLimiter {
goodbye_quota,
blocks_by_range_quota,
blocks_by_root_quota,
blobs_by_range_quota,
blobs_by_root_quota,
light_client_bootstrap_quota,
} = config;

Expand All @@ -231,11 +229,6 @@ impl RPCRateLimiter {
.set_quota(Protocol::Goodbye, goodbye_quota)
.set_quota(Protocol::BlocksByRange, blocks_by_range_quota)
.set_quota(Protocol::BlocksByRoot, blocks_by_root_quota)
.set_quota(Protocol::BlobsByRange, blobs_by_range_quota)
.set_quota(Protocol::BlobsByRoot, blobs_by_root_quota)
// Manually set the LightClientBootstrap quota, since we use the same rate limiter for
// inbound and outbound requests, and the LightClientBootstrap is an only inbound
// protocol.
.set_quota(Protocol::LightClientBootstrap, light_client_bootstrap_quota)
.build()
}
Expand Down

0 comments on commit ecd0b7f

Please sign in to comment.