Fix clippy lints

This commit is contained in:
Paul Hauner
2018-10-24 15:40:09 +02:00
parent 28ffb037cc
commit b2495cbcff
3 changed files with 5 additions and 4 deletions

View File

@@ -127,6 +127,7 @@ impl<'a> SszBeaconBlock<'a> {
}
pub fn len(&self) -> usize { self.ssz.len() }
pub fn is_empty(&self) -> bool { self.ssz.is_empty() }
/// Return the canonical hash for this block.
pub fn block_hash(&self) -> Vec<u8> {