Update specs/core/1_beacon-chain-misc.md

Co-Authored-By: Hsiao-Wei Wang <hwwang156@gmail.com>
This commit is contained in:
vbuterin 2019-08-13 06:14:51 -04:00 committed by GitHub
parent cb3e0f2146
commit f9849ca562
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -61,7 +61,7 @@ def pack_compact_validator(index: int, slashed: bool, balance_in_increments: int
#### `unpack_compact_validator`
```python
def unpack_compact_validator(compact_validator: uint64) -> Tuple[uint64, bool, uint64]:
def unpack_compact_validator(compact_validator: int) -> Tuple[int, bool, int]:
"""
Returns validator index, slashed, balance // EFFECTIVE_BALANCE_INCREMENT
"""