From 4bc849bcc2c0deb4e1bba67264d75e614bf5e146 Mon Sep 17 00:00:00 2001 From: dankrad Date: Tue, 16 Jun 2020 15:05:12 +0100 Subject: [PATCH] Update specs/phase1/custody-game.md Co-authored-by: Hsiao-Wei Wang --- specs/phase1/custody-game.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/specs/phase1/custody-game.md b/specs/phase1/custody-game.md index 9b20dea55..8920becda 100644 --- a/specs/phase1/custody-game.md +++ b/specs/phase1/custody-game.md @@ -373,7 +373,7 @@ def process_chunk_challenge_response(state: BeaconState, record for record in state.custody_chunk_challenge_records if record.challenge_index == response.challenge_index ] - assert len(matching_challenges) > 0 + assert len(matching_challenges) == 1 challenge = matching_challenges[0] # Verify chunk index assert response.chunk_index == challenge.chunk_index