From 0f3dfc82c6f4710e91ba263dea95745509b5fb42 Mon Sep 17 00:00:00 2001 From: pablo Date: Thu, 3 Jul 2025 12:12:20 +0300 Subject: [PATCH] feat: cleanup --- waku/common/rate_limit/token_bucket.nim | 1 - 1 file changed, 1 deletion(-) diff --git a/waku/common/rate_limit/token_bucket.nim b/waku/common/rate_limit/token_bucket.nim index 265d8847a..27e28f323 100644 --- a/waku/common/rate_limit/token_bucket.nim +++ b/waku/common/rate_limit/token_bucket.nim @@ -110,7 +110,6 @@ proc update(bucket: TokenBucket, currentTime: Moment) = updateStrict(bucket, currentTime) ## Returns the available capacity ratio of the bucket. -## This is a ratio of the bucket capacity that is currently available. ## It is a float number between 0.0 (empty) and 1.0 (full). proc getAvailableCapacityRatio*(bucket: TokenBucket, currentTime: Moment): float = if periodElapsed(bucket, currentTime):