Update sync_protocol.md

This commit is contained in:
terence tsao 2019-08-26 17:37:18 -07:00 committed by GitHub
parent 2abb81d4e9
commit 79e34a00e8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -86,7 +86,7 @@ def unpack_compact_validator(compact_validator: CompactValidator) -> Tuple[Valid
"""
return (
ValidatorIndex(compact_validator >> 16),
(compact_validator >> 15) % 2,
(compact_validator >> 15) % 2 == 0,
uint64(compact_validator & (2**15 - 1)),
)
```