Update sync_protocol.md
This commit is contained in:
parent
2abb81d4e9
commit
79e34a00e8
|
@ -86,7 +86,7 @@ def unpack_compact_validator(compact_validator: CompactValidator) -> Tuple[Valid
|
||||||
"""
|
"""
|
||||||
return (
|
return (
|
||||||
ValidatorIndex(compact_validator >> 16),
|
ValidatorIndex(compact_validator >> 16),
|
||||||
(compact_validator >> 15) % 2,
|
(compact_validator >> 15) % 2 == 0,
|
||||||
uint64(compact_validator & (2**15 - 1)),
|
uint64(compact_validator & (2**15 - 1)),
|
||||||
)
|
)
|
||||||
```
|
```
|
||||||
|
|
Loading…
Reference in New Issue