Update specs/core/1_beacon-chain-misc.md
Co-Authored-By: Hsiao-Wei Wang <hwwang156@gmail.com>
This commit is contained in:
parent
cb3e0f2146
commit
f9849ca562
|
@ -61,7 +61,7 @@ def pack_compact_validator(index: int, slashed: bool, balance_in_increments: int
|
||||||
#### `unpack_compact_validator`
|
#### `unpack_compact_validator`
|
||||||
|
|
||||||
```python
|
```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
|
Returns validator index, slashed, balance // EFFECTIVE_BALANCE_INCREMENT
|
||||||
"""
|
"""
|
||||||
|
|
Loading…
Reference in New Issue