Fix compilation error (#3692)

This commit is contained in:
Jimmy Chen
2022-11-06 11:46:48 -05:00
committed by GitHub
parent fc0b06a039
commit cb393f5b7d
@@ -14,7 +14,7 @@ pub fn upgrade_to_eip4844<E: EthSpec>(
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