We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a46ad34 commit 48b6715Copy full SHA for 48b6715
src/bindings.rs
@@ -1289,8 +1289,7 @@ pub fn required_additional_duration(
1289
if desired_total_weighted < existing_amount.saturating_mul(existing_duration) {
1290
return None;
1291
}
1292
- let numerator =
1293
- desired_total_weighted - existing_amount.saturating_mul(existing_duration);
+ let numerator = desired_total_weighted - existing_amount.saturating_mul(existing_duration);
1294
Some(numerator / additional_amount)
1295
1296
0 commit comments