From cb3e0f2146387920089309bc059dc6c91306531d Mon Sep 17 00:00:00 2001 From: vbuterin Date: Tue, 13 Aug 2019 06:12:51 -0400 Subject: [PATCH] Update specs/core/1_beacon-chain-misc.md Co-Authored-By: Hsiao-Wei Wang --- specs/core/1_beacon-chain-misc.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/specs/core/1_beacon-chain-misc.md b/specs/core/1_beacon-chain-misc.md index c1d6283ca..e82eb2a30 100644 --- a/specs/core/1_beacon-chain-misc.md +++ b/specs/core/1_beacon-chain-misc.md @@ -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