Fix clippy lint

This commit is contained in:
Paul Hauner
2019-02-26 16:49:17 +13:00
parent 906131f882
commit 9f846eda26

View File

@@ -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<usize>,
committee: &[usize],
shard: u64,
slot: Slot,
spec: &ChainSpec,