Skip to content

Commit

Permalink
Update mod.rs
Browse files Browse the repository at this point in the history
  • Loading branch information
marvin-j97 committed Jul 29, 2024
1 parent cc557ad commit 6b750ae
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/bloom/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 55,8 @@ impl Deserializable for BloomFilter {
}

// NOTE: Filter type (unused)
reader.read_u8()?;
let filter_type = reader.read_u8()?;
assert_eq!(0, filter_type);

let m = reader.read_u64::<BigEndian>()? as usize;
let k = reader.read_u64::<BigEndian>()? as usize;
Expand Down

0 comments on commit 6b750ae

Please sign in to comment.