From 4d9b53478f91352bbcb08ac7826833280e2713ef Mon Sep 17 00:00:00 2001 From: Paul Hauner Date: Wed, 19 Sep 2018 15:24:06 +1000 Subject: [PATCH] Add SszBlock comment --- lighthouse/state/block/ssz_block.rs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lighthouse/state/block/ssz_block.rs b/lighthouse/state/block/ssz_block.rs index 11af7c820..8ee7580a2 100644 --- a/lighthouse/state/block/ssz_block.rs +++ b/lighthouse/state/block/ssz_block.rs @@ -23,7 +23,8 @@ const MIN_SSZ_BLOCK_LENGTH: usize = { }; const MAX_SSZ_BLOCK_LENGTH: usize = MIN_SSZ_BLOCK_LENGTH + 2^24; - +/// Allows for reading of block values directly from serialized +/// ssz bytes. pub struct SszBlock<'a> { ssz: &'a [u8], attestation_len: usize,