Fix some capella nits (#3782)

This commit is contained in:
Justin Traglia
2022-12-12 00:40:44 +00:00
committed by GitHub
parent b6486e809d
commit f7a54afde5
8 changed files with 11 additions and 16 deletions

View File

@@ -67,7 +67,7 @@ pub fn upgrade_to_eip4844<E: EthSpec>(
#[cfg(feature = "withdrawals")]
next_withdrawal_index: pre.next_withdrawal_index,
#[cfg(feature = "withdrawals")]
next_withdrawal_validator_index: 0,
next_withdrawal_validator_index: pre.next_withdrawal_validator_index,
// Caches
total_active_balance: pre.total_active_balance,
committee_caches: mem::take(&mut pre.committee_caches),