mirror of
https://github.com/status-im/eth2.0-specs.git
synced 2025-01-19 23:19:28 +00:00
Merge pull request #1056 from ethereum/ralexstokes-patch-1
Update simple-serialize.md
This commit is contained in:
commit
a9616b05cf
@ -85,7 +85,7 @@ return b"\x01" if value is True else b"\x00"
|
||||
### Containers, vectors, lists
|
||||
|
||||
```python
|
||||
# Reccursively serialize
|
||||
# Recursively serialize
|
||||
fixed_parts = [serialize(element) if not is_variable_size(element) else None for element in value]
|
||||
variable_parts = [serialize(element) if is_variable_size(element) else b"" for element in value]
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user