mirror of
https://github.com/status-im/eth2.0-specs.git
synced 2025-01-12 19:54:34 +00:00
lint problem fixed
This commit is contained in:
parent
4431e399b1
commit
b41410eade
@ -136,7 +136,7 @@ def is_valid_fraud_proof(beacon_state: BeaconState,
|
|||||||
if offset_index == 0:
|
if offset_index == 0:
|
||||||
shard = get_shard(beacon_state, attestation)
|
shard = get_shard(beacon_state, attestation)
|
||||||
shard_states = beacon_parent_block.body.shard_transitions[shard].shard_states
|
shard_states = beacon_parent_block.body.shard_transitions[shard].shard_states
|
||||||
shard_state = shard_states[len(shard_states)-1]
|
shard_state = shard_states[len(shard_states) - 1]
|
||||||
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.
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user