Update specs/light_client/merkle_proofs.md
Co-Authored-By: Danny Ryan <dannyjryan@gmail.com>
This commit is contained in:
parent
1b852adef1
commit
44bd00164e
|
@ -76,6 +76,7 @@ def get_elem_type(typ: ComplexType, index: int) -> Type:
|
||||||
"""
|
"""
|
||||||
return typ.get_fields()[key] if issubclass(typ, Container) else typ.elem_type
|
return typ.get_fields()[key] if issubclass(typ, Container) else typ.elem_type
|
||||||
|
|
||||||
|
|
||||||
def chunk_count(typ: SSZType) -> int:
|
def chunk_count(typ: SSZType) -> int:
|
||||||
"""
|
"""
|
||||||
Returns the number of hashes needed to represent the top-level elements in the given type
|
Returns the number of hashes needed to represent the top-level elements in the given type
|
||||||
|
|
Loading…
Reference in New Issue