spec: fix shuffle direction in get_crosslink_committees_at_slot

This commit is contained in:
Michael Sproul
2019-04-03 17:15:07 +11:00
parent 19fad1012f
commit b801303374
3 changed files with 4 additions and 2 deletions

View File

@@ -288,7 +288,7 @@ impl EpochCrosslinkCommitteesBuilder {
self.active_validator_indices,
spec.shuffle_round_count,
&self.shuffling_seed[..],
true,
false,
)
.ok_or_else(|| Error::UnableToShuffle)?
};

View File

@@ -27,7 +27,7 @@ fn do_sane_cache_test(
active_indices,
spec.shuffle_round_count,
&expected_seed[..],
true,
false,
)
.unwrap();