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…
Reference in New Issue