Skip to content

Commit

Permalink
Fix fmt
Browse files Browse the repository at this point in the history
  • Loading branch information
eval-exec committed Aug 11, 2023
1 parent c07182f commit 6e572ef
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion spec/src/consensus.rs
Original file line number Diff line number Diff line change
Expand Up @@ -804,7 +804,9 @@ impl Consensus {
let remainder_reward =
Capacity::shannons(primary_epoch_reward % epoch.length());

let next_epoch_length = (self.epoch_duration_target() + MIN_BLOCK_INTERVAL - 1) / MIN_BLOCK_INTERVAL
let next_epoch_length = (self.epoch_duration_target() + MIN_BLOCK_INTERVAL
- 1)
/ MIN_BLOCK_INTERVAL;

let dummy_epoch_ext = epoch
.clone()
Expand Down

0 comments on commit 6e572ef

Please sign in to comment.