fix >= to <
This commit is contained in:
parent
8180290be7
commit
9a7777e3f9
|
@ -1045,7 +1045,7 @@ impl Web3Rpc {
|
||||||
let now = Instant::now();
|
let now = Instant::now();
|
||||||
let hard_limit_until = self.next_available(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));
|
return Ok(OpenRequestResult::RetryAt(hard_limit_until));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue