mirror of
https://github.com/ethereum/consensus-specs.git
synced 2026-02-03 17:14:56 -05:00
Update specs/core/1_custody-game.md
Co-Authored-By: vbuterin <v@buterin.com>
This commit is contained in:
@@ -628,7 +628,7 @@ def process_bit_challenge_response(state: BeaconState,
|
||||
# Verify chunk index
|
||||
assert response.chunk_index < challenge.chunk_count
|
||||
# Verify responder has not been slashed
|
||||
responder = state.validator_registry[record.responder_index]
|
||||
responder = state.validator_registry[challenge.responder_index]
|
||||
assert not responder.slashed
|
||||
# Verify the chunk matches the crosslink data root
|
||||
assert verify_merkle_branch(
|
||||
|
||||
Reference in New Issue
Block a user