Fix old instances of shards being u16

This commit is contained in:
Paul Hauner 2018-12-29 14:35:03 +11:00
parent b365bb8773
commit 8308ea4932
No known key found for this signature in database
GPG Key ID: 303E4494BB28068C
2 changed files with 2 additions and 2 deletions

View File

@ -45,7 +45,7 @@ mod tests {
use super::*;
fn sac_generator(
shard_count: u16,
shard_count: u64,
slot_count: usize,
sac_per_slot: usize,
committee_size: usize,

View File

@ -65,7 +65,7 @@ pub type Bitfield = boolean_bitfield::BooleanBitfield;
pub type BitfieldError = boolean_bitfield::Error;
/// Maps a (slot, shard_id) to attestation_indices.
pub type AttesterMap = HashMap<(u64, u16), Vec<usize>>;
pub type AttesterMap = HashMap<(u64, u64), Vec<usize>>;
/// Maps a slot to a block proposer.
pub type ProposerMap = HashMap<u64, usize>;