From 725199593bdee4389a9ded72b1c25054830485d2 Mon Sep 17 00:00:00 2001 From: Hsiao-Wei Wang Date: Thu, 17 Jan 2019 17:00:39 +0800 Subject: [PATCH] For pubkey type hinting, use `bytes` for now. --- specs/core/0_beacon-chain.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/specs/core/0_beacon-chain.md b/specs/core/0_beacon-chain.md index d3ffa7632..7a12c6a2a 100644 --- a/specs/core/0_beacon-chain.md +++ b/specs/core/0_beacon-chain.md @@ -1292,7 +1292,7 @@ First, a helper function: ```python def validate_proof_of_possession(state: BeaconState, - pubkey: int, + pubkey: bytes, proof_of_possession: bytes, withdrawal_credentials: Bytes32, randao_commitment: Bytes32, @@ -1321,7 +1321,7 @@ Now, to add a [validator](#dfn-validator) or top up an existing [validator](#dfn ```python def process_deposit(state: BeaconState, - pubkey: int, + pubkey: bytes, amount: int, proof_of_possession: bytes, withdrawal_credentials: Bytes32,