mirror of
https://github.com/ethereum/consensus-specs.git
synced 2026-02-03 07:05:05 -05:00
Update specs/core/1_beacon-chain-misc.md
Co-Authored-By: Hsiao-Wei Wang <hwwang156@gmail.com>
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user