From cb393f5b7d7af28dc56508e2562e06013493ddd2 Mon Sep 17 00:00:00 2001 From: Jimmy Chen Date: Mon, 7 Nov 2022 00:46:48 +0800 Subject: [PATCH] Fix compilation error (#3692) --- consensus/state_processing/src/upgrade/eip4844.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/consensus/state_processing/src/upgrade/eip4844.rs b/consensus/state_processing/src/upgrade/eip4844.rs index d677fd666..ce88364f0 100644 --- a/consensus/state_processing/src/upgrade/eip4844.rs +++ b/consensus/state_processing/src/upgrade/eip4844.rs @@ -14,7 +14,7 @@ pub fn upgrade_to_eip4844( let previous_fork_version = if cfg!(feature ="withdrawals") { pre.fork.current_version } else { - spec.bellatrix_fork_epoch + spec.bellatrix_fork_version }; // Where possible, use something like `mem::take` to move fields from behind the &mut