Update specs/light_client/merkle_proofs.md

Co-Authored-By: Diederik Loerakker <proto@protolambda.com>
This commit is contained in:
vbuterin 2019-08-02 09:43:42 -04:00 committed by GitHub
parent 845daf5b1f
commit 59307d1380
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -85,6 +85,7 @@ def chunk_count(typ: SSZType) -> int:
hash. For lists/vectors of basic types, it is often fewer because multiple basic elements
can be packed into one 32-byte chunk.
"""
# typ.length describes the limit for list types, or the length for vector types.
if issubclass(typ, BasicValue):
return 1
elif issubclass(typ, Bits):