Push more epoch processing fns to 0.5.0

This commit is contained in:
Paul Hauner
2019-03-19 19:27:10 +11:00
parent 61f6fe25e7
commit 35b90728c7
6 changed files with 252 additions and 219 deletions

View File

@@ -4,7 +4,7 @@ use types::*;
///
/// Is title `verify_bitfield` in spec.
///
/// Spec v0.4.0
/// Spec v0.5.0
pub fn verify_bitfield_length(bitfield: &Bitfield, committee_size: usize) -> bool {
if bitfield.num_bytes() != ((committee_size + 7) / 8) {
return false;