need a decimal 0

This commit is contained in:
Bryan Stitt 2023-05-31 17:12:32 -07:00
parent 1a26260351
commit 633bf1f53b

@ -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(());
}