Fix compilation

This commit is contained in:
Jimmy Chen 2023-07-24 21:09:07 +10:00
parent 4ca101e085
commit 54c6e1dd3d
No known key found for this signature in database
GPG Key ID: 7AAEE02659DCF690

View File

@ -50,9 +50,10 @@ impl<T: BeaconChainTypes> BeaconChain<T> {
match state { match state {
BeaconState::Base(_) => self.compute_attestation_rewards_base(state, validators), BeaconState::Base(_) => self.compute_attestation_rewards_base(state, validators),
BeaconState::Altair(_) | BeaconState::Merge(_) | BeaconState::Capella(_) => { BeaconState::Altair(_)
self.compute_attestation_rewards_altair(state, validators) | BeaconState::Merge(_)
} | BeaconState::Capella(_)
| BeaconState::Deneb(_) => self.compute_attestation_rewards_altair(state, validators),
} }
} }