Merge pull request #1056 from ethereum/ralexstokes-patch-1

Update simple-serialize.md
This commit is contained in:
Danny Ryan 2019-05-06 18:41:22 -06:00 committed by GitHub
commit a9616b05cf
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -85,7 +85,7 @@ return b"\x01" if value is True else b"\x00"
### Containers, vectors, lists ### Containers, vectors, lists
```python ```python
# Reccursively serialize # Recursively serialize
fixed_parts = [serialize(element) if not is_variable_size(element) else None for element in value] 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] variable_parts = [serialize(element) if is_variable_size(element) else b"" for element in value]