mirror of
https://github.com/status-im/eth2.0-specs.git
synced 2025-01-20 23:49:54 +00:00
Fix
This commit is contained in:
parent
0fb0b26742
commit
14fd937046
@ -121,7 +121,7 @@ def create_light_client_update(state: BeaconState,
|
|||||||
state_root=finalized_block.message.state_root,
|
state_root=finalized_block.message.state_root,
|
||||||
body_root=hash_tree_root(finalized_block.message.body),
|
body_root=hash_tree_root(finalized_block.message.body),
|
||||||
)
|
)
|
||||||
assert get_lc_beacon_root(update.finalized_header) == attested_state.finalized_checkpoint.root
|
assert get_lc_beacon_root(finalized_header) == attested_state.finalized_checkpoint.root
|
||||||
else:
|
else:
|
||||||
assert attested_state.finalized_checkpoint.root == Bytes32()
|
assert attested_state.finalized_checkpoint.root == Bytes32()
|
||||||
finalized_header = BeaconBlockHeader()
|
finalized_header = BeaconBlockHeader()
|
||||||
|
Loading…
x
Reference in New Issue
Block a user