diff --git a/crates/arti-client/src/status.rs b/crates/arti-client/src/status.rs index a01937b703ef13942901bb48e030eb616c58e022..742f0ee4e150f1cd581b2e868bb5143aca256ca7 100644 --- a/crates/arti-client/src/status.rs +++ b/crates/arti-client/src/status.rs @@ -38,9 +38,7 @@ impl BootstrapStatus { /// 0 is defined as "just started"; 1 is defined as "ready to use." pub fn as_frac(&self) -> f32 { // Coefficients chosen arbitrarily. - let res = - self.conn_status.frac() * 0.15 + self.dir_status.frac_at(SystemTime::now()) * 0.85; - res + self.conn_status.frac() * 0.15 + self.dir_status.frac_at(SystemTime::now()) * 0.85 } /// Return true if the status indicates that the client is ready for