need a decimal 0
This commit is contained in:
parent
1a26260351
commit
633bf1f53b
@ -349,7 +349,7 @@ impl BufferedRpcQueryStats {
|
|||||||
};
|
};
|
||||||
|
|
||||||
// (1) Do some general bookkeeping on the user
|
// (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 early because theres no need to touch the balance table
|
||||||
return Ok(());
|
return Ok(());
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user