Update specs/simple-serialize.md

Co-Authored-By: dankrad <dankrad@ethereum.org>
This commit is contained in:
Hsiao-Wei Wang 2019-05-01 12:39:07 +02:00 committed by GitHub
parent 101449e71a
commit 4a483309a5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -113,7 +113,7 @@ fixed_parts = [part if part != None else variable_offsets[i] for i, part in enum
return b"".join(fixed_parts + variable_parts)
```
If `value` is an union type:
If `value` is a union type:
Define value as an object that has properties `value.value` with the contained value, and `value.type_index` which indexes the type.