edit comment to make line shorter
This commit is contained in:
parent
5234e431ec
commit
21c8c58cb1
|
@ -262,7 +262,7 @@ def test_att1_duplicate_index_normal_signed(spec, state):
|
|||
indices.pop(1) # remove an index, make room for the additional duplicate index.
|
||||
attester_slashing.attestation_1.attesting_indices = sorted(indices)
|
||||
|
||||
# sign it, the signature will be valid for a single occurrence. If the transition accidentally ignores the duplicate.
|
||||
# The signature will be valid for a single occurrence. If the transition accidentally ignores the duplicate.
|
||||
sign_indexed_attestation(spec, state, attester_slashing.attestation_1)
|
||||
|
||||
indices.append(indices[0]) # add one of the indices a second time
|
||||
|
@ -282,7 +282,7 @@ def test_att2_duplicate_index_normal_signed(spec, state):
|
|||
indices.pop(2) # remove an index, make room for the additional duplicate index.
|
||||
attester_slashing.attestation_2.attesting_indices = sorted(indices)
|
||||
|
||||
# sign it, the signature will be valid for a single occurrence. If the transition accidentally ignores the duplicate.
|
||||
# The signature will be valid for a single occurrence. If the transition accidentally ignores the duplicate.
|
||||
sign_indexed_attestation(spec, state, attester_slashing.attestation_2)
|
||||
|
||||
indices.append(indices[1]) # add one of the indices a second time
|
||||
|
|
Loading…
Reference in New Issue