From 9a7777e3f9afbb89d350d574412a3438d8aaf00b Mon Sep 17 00:00:00 2001 From: Bryan Stitt Date: Fri, 6 Oct 2023 16:35:06 -0700 Subject: [PATCH] fix >= to < --- web3_proxy/src/rpcs/one.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/web3_proxy/src/rpcs/one.rs b/web3_proxy/src/rpcs/one.rs index 2133ea8b..3c209e3d 100644 --- a/web3_proxy/src/rpcs/one.rs +++ b/web3_proxy/src/rpcs/one.rs @@ -1045,7 +1045,7 @@ impl Web3Rpc { let now = Instant::now(); let hard_limit_until = self.next_available(now); - if now >= hard_limit_until { + if now < hard_limit_until { return Ok(OpenRequestResult::RetryAt(hard_limit_until)); }