From 633bf1f53bbe58947de19340354d9edd32088569 Mon Sep 17 00:00:00 2001 From: Bryan Stitt Date: Wed, 31 May 2023 17:12:32 -0700 Subject: [PATCH] need a decimal 0 --- web3_proxy/src/stats/mod.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/web3_proxy/src/stats/mod.rs b/web3_proxy/src/stats/mod.rs index 1fe174e9..2874f1ae 100644 --- a/web3_proxy/src/stats/mod.rs +++ b/web3_proxy/src/stats/mod.rs @@ -349,7 +349,7 @@ impl BufferedRpcQueryStats { }; // (1) Do some general bookkeeping on the user - if self.sum_credits_used == 0 { + if self.sum_credits_used == 0.into() { // return early because theres no need to touch the balance table return Ok(()); }