mirror of
https://github.com/sigp/lighthouse.git
synced 2026-03-09 19:51:47 +00:00
Make #stateprocessingcompileagain
This commit is contained in:
@@ -42,7 +42,7 @@ pub fn winning_root<T: EthSpec>(
|
||||
spec: &ChainSpec,
|
||||
) -> Result<Option<WinningRoot>, BeaconStateError> {
|
||||
let shard_attestations: Vec<&PendingAttestation> = state
|
||||
.get_matching_source_attestations(epoch, spec)?
|
||||
.get_matching_source_attestations(epoch)?
|
||||
.iter()
|
||||
.filter(|a| a.data.shard == shard)
|
||||
.collect();
|
||||
|
||||
Reference in New Issue
Block a user