From 72d55ffd572b4798861d22b99a641438bb442c47 Mon Sep 17 00:00:00 2001 From: r4h Date: Fri, 25 Oct 2024 23:49:31 +0800 Subject: [PATCH] Make variable name to match comments --- consensus/ethash/difficulty.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/consensus/ethash/difficulty.go b/consensus/ethash/difficulty.go index 66a18059c6..c719738525 100644 --- a/consensus/ethash/difficulty.go +++ b/consensus/ethash/difficulty.go @@ -30,9 +30,9 @@ const ( frontierDurationLimit = 13 // minimumDifficulty The minimum that the difficulty may ever be. minimumDifficulty = 131072 - // expDiffPeriod is the exponential difficulty period + // expDiffPeriodUint is the exponential difficulty period expDiffPeriodUint = 100000 - // difficultyBoundDivisorBitShift is the bound divisor of the difficulty (2048), + // difficultyBoundDivisor is the bound divisor of the difficulty (2048), // This constant is the right-shifts to use for the division. difficultyBoundDivisor = 11 )