From 1a139ea6cc1ed01ca9de2a476527e68e77ce9420 Mon Sep 17 00:00:00 2001 From: Georgios Konstantopoulos Date: Sat, 11 Feb 2023 13:40:58 -0800 Subject: [PATCH] chore: fmt --- crates/primitives/src/chain/spec.rs | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/crates/primitives/src/chain/spec.rs b/crates/primitives/src/chain/spec.rs index df8a1f2ca8..f83f60bf94 100644 --- a/crates/primitives/src/chain/spec.rs +++ b/crates/primitives/src/chain/spec.rs @@ -476,8 +476,9 @@ impl ForkCondition { /// of a current block. /// /// The fork is considered active if the _previous_ total difficulty is above the threshold. - /// To achieve that, we subtract the passed `difficulty` from the current block's total difficulty, - /// and check if it's above the Fork Condition's total difficulty (here: 58_750_000_000_000_000_000_000) + /// To achieve that, we subtract the passed `difficulty` from the current block's total + /// difficulty, and check if it's above the Fork Condition's total difficulty (here: + /// 58_750_000_000_000_000_000_000) /// /// This will return false for any condition that is not TTD-based. pub fn active_at_ttd(&self, ttd: U256, difficulty: U256) -> bool {