mirror of
https://github.com/status-im/eth2.0-specs.git
synced 2025-02-17 21:16:52 +00:00
get rid of .message
as block
is ShardBlock
already
This commit is contained in:
parent
a681163305
commit
7674c76b61
@ -133,7 +133,7 @@ def is_valid_fraud_proof(beacon_state: BeaconState,
|
|||||||
else:
|
else:
|
||||||
shard_state = transition.shard_states[offset_index - 1] # Not doing the actual state updates here.
|
shard_state = transition.shard_states[offset_index - 1] # Not doing the actual state updates here.
|
||||||
|
|
||||||
process_shard_block(shard_state, block.message)
|
process_shard_block(shard_state, block)
|
||||||
if shard_state != transition.shard_states[offset_index]:
|
if shard_state != transition.shard_states[offset_index]:
|
||||||
return True
|
return True
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user