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