From 6a5cda4040c0591b08ceb1656e25a5d0d70f2ece Mon Sep 17 00:00:00 2001 From: pheobeayo Date: Wed, 8 Oct 2025 19:24:59 +0100 Subject: [PATCH] docs:fix Documentation for calculate_block_difficulty incorrectly references GENESIS_DIFFICULTY --- src/ethereum/forks/dao_fork/fork.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ethereum/forks/dao_fork/fork.py b/src/ethereum/forks/dao_fork/fork.py index d407639ab3..147ec2dc13 100644 --- a/src/ethereum/forks/dao_fork/fork.py +++ b/src/ethereum/forks/dao_fork/fork.py @@ -776,7 +776,7 @@ def calculate_block_difficulty( set for the genesis block since it has no parent. So, a block can't be less difficult than the genesis block, therefore each block's difficulty is set to the maximum value between the calculated - difficulty and the ``GENESIS_DIFFICULTY``. + difficulty and the ``MINIMUM_DIFFICULTY``. Parameters ----------