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:12:51 -04:00 committed by GitHub
parent e4e6c4d8ee
commit cb3e0f2146
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -49,7 +49,7 @@ class ShardReceiptProof(Container):
#### `pack_compact_validator`
```python
def pack_compact_validator(index: uint64, slashed: bool, balance_in_increments: uint64) -> uint64:
def pack_compact_validator(index: int, slashed: bool, balance_in_increments: int) -> int:
"""
Creates a compact validator object representing index, slashed status, and compressed balance.
Takes as input balance-in-increments (// EFFECTIVE_BALANCE_INCREMENT) to preserve symmetry with