minor bug fix
This commit is contained in:
parent
0c8cfdea5e
commit
5b23470726
|
@ -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));
|
||||
|
|
Loading…
Reference in New Issue