mirror of
https://github.com/paradigmxyz/reth.git
synced 2026-01-28 08:37:59 -05:00
chore: fmt
This commit is contained in:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user