Make order of operations clearer
@@ -264,7 +264,7 @@ impl NetworkUpgrade {
///
/// `AveragingWindowTimespan` from the Zcash specification.
pub fn averaging_window_timespan(&self) -> Duration {
- self.target_spacing() * POW_AVERAGING_WINDOW as _
+ self.target_spacing() * (POW_AVERAGING_WINDOW as _)
}
/// Returns the averaging window timespan for `network` and `height`.
