mirror of
https://github.com/sigp/lighthouse.git
synced 2026-03-20 05:14:35 +00:00
Plumb reward cache through reward calc
This commit is contained in:
@@ -28,5 +28,5 @@ pub fn get_attesting_indices_from_state<T: EthSpec>(
|
||||
att: &Attestation<T>,
|
||||
) -> Result<Vec<u64>, BeaconStateError> {
|
||||
let committee = state.get_beacon_committee(att.data.slot, att.data.index)?;
|
||||
get_attesting_indices::<T>(&committee.committee, &att.aggregation_bits)
|
||||
get_attesting_indices::<T>(committee.committee, &att.aggregation_bits)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user