diff --git a/eth2/types/src/beacon_state/builder.rs b/eth2/types/src/beacon_state/builder.rs index 6258d819d..7273f3658 100644 --- a/eth2/types/src/beacon_state/builder.rs +++ b/eth2/types/src/beacon_state/builder.rs @@ -156,7 +156,7 @@ impl BeaconStateBuilder { /// Builds a valid PendingAttestation with full participation for some committee. fn committee_to_pending_attestation( state: &BeaconState, - committee: &Vec, + committee: &[usize], shard: u64, slot: Slot, spec: &ChainSpec,