Update (hacky) validator induction and shuffling.

This allows the `BeaconChain` struct to be updated but it doesn't bring
these functions in line with the spec.
This commit is contained in:
Paul Hauner
2018-12-12 18:32:19 +11:00
parent c944c435e2
commit 92786520e4
4 changed files with 24 additions and 21 deletions

View File

@@ -19,7 +19,7 @@ pub enum ValidatorInductionError {
}
impl ValidatorInductor {
pub fn new(current_slot: u64, shard_count: u16, validators: Vec<ValidatorRecord>) -> Self {
pub fn new(current_slot: u64, shard_count: u64, validators: Vec<ValidatorRecord>) -> Self {
Self {
current_slot,
shard_count,