Re-add ValidatorRecord::status_is() fn

It was accidentally removed.
This commit is contained in:
Paul Hauner
2018-12-29 14:34:22 +11:00
parent 9efc7a0def
commit b365bb8773
3 changed files with 16 additions and 7 deletions

View File

@@ -95,7 +95,7 @@ fn generate_cycle(
.honey_badger_split(committees_per_slot)
.enumerate()
.map(|(j, shard_indices)| ShardCommittee {
shard: ((shard_start + j) % shard_count) as u16,
shard: ((shard_start + j) % shard_count) as u64,
committee: shard_indices.to_vec(),
})
.collect()