From 0df4141f051ba3401771ac2bc685ea5aa7fac20c Mon Sep 17 00:00:00 2001 From: Danny Ryan Date: Thu, 1 Nov 2018 08:08:23 +0100 Subject: [PATCH] make bytes more uniform --- specs/beacon-chain.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/specs/beacon-chain.md b/specs/beacon-chain.md index 2e1b74eca..187e8e5f7 100644 --- a/specs/beacon-chain.md +++ b/specs/beacon-chain.md @@ -543,7 +543,7 @@ def on_startup(initial_validator_entries: List[Any]) -> Tuple[CrystallizedState, last_justified_slot=0, justified_streak=0, shard_and_committee_for_slots=x + x, - persistent_shuffling=split(shuffle(validators, b'x\00'*32), SHARD_COUNT), + persistent_shuffling=split(shuffle(validators, bytes([0] * 32)), SHARD_COUNT), shard_reassignment_records=[], deposits_penalized_in_period=[], validator_set_delta_hash_chain=bytes([0] * 32), # stub