Revert "Calc the right root with respect to (slot, shard) for an empty PendingShardHeader"

This reverts commit 2199b8e0
This commit is contained in:
Anton Nashatyrev 2021-05-05 13:21:15 +03:00
parent dca6d3370a
commit ddc59422ba
1 changed files with 1 additions and 1 deletions

View File

@ -763,7 +763,7 @@ def reset_pending_headers(state: BeaconState) -> None:
slot=slot, slot=slot,
shard=shard, shard=shard,
commitment=DataCommitment(), commitment=DataCommitment(),
root=hash_tree_root(ShardBlobHeader(slot = slot, shard = shard)), root=Root(),
votes=Bitlist[MAX_VALIDATORS_PER_COMMITTEE]([0] * committee_length), votes=Bitlist[MAX_VALIDATORS_PER_COMMITTEE]([0] * committee_length),
confirmed=False, confirmed=False,
)) ))