make bytes more uniform

This commit is contained in:
Danny Ryan 2018-11-01 08:08:23 +01:00 committed by GitHub
parent 1276f1334b
commit 0df4141f05
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -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