fix slot for domain in verify_slashable_vote_data (#465)

This commit is contained in:
Danny Ryan 2019-01-17 13:00:29 -06:00 committed by Justin
parent 53687ccf86
commit 91eba49eeb

View File

@ -1113,7 +1113,7 @@ def verify_slashable_vote_data(state: BeaconState, vote_data: SlashableVoteData)
signature=vote_data.aggregate_signature,
domain=get_domain(
state.fork,
state.slot,
vote_data.data.slot,
DOMAIN_ATTESTATION,
),
)