minor bug fix

This commit is contained in:
Godmode Galactus 2023-10-28 08:55:57 +02:00
parent 0c8cfdea5e
commit 5b23470726
No known key found for this signature in database
GPG Key ID: A04142C71ABB0DEA
1 changed files with 1 additions and 1 deletions

View File

@ -138,7 +138,7 @@ impl BlockInfo {
if additional_fee > 0 {
return Some((
units,
Some(((units * 1000) / additional_fee) as u64),
Some(((units.saturating_mul(1000)).saturating_div(additional_fee)) as u64),
));
} else {
return Some((units, None));