Update specs/simple-serialize.md

Co-Authored-By: dankrad <dankrad@ethereum.org>
This commit is contained in:
jannikluhn 2019-04-11 16:00:53 +01:00 committed by GitHub
parent cd85546954
commit 283ba8f761
1 changed files with 1 additions and 1 deletions

View File

@ -103,7 +103,7 @@ Define value as an object that has properties `value.value` with the contained v
```python
serialized_bytes = serialize(value.value)
serialized_type_index = value.type_index.to_bytes(BYTES_PER_LENGTH_PREFIX, "little")
return serialized_length + serialized_bytes
return serialized_type_index + serialized_bytes
```