mirror of
https://github.com/status-im/eth2.0-specs.git
synced 2025-01-24 09:30:55 +00:00
Fix verify_slashable_vote_data
: use get_domain
(#306)
This commit is contained in:
parent
6fa12f6603
commit
c1a3b29145
@ -1023,7 +1023,11 @@ def verify_slashable_vote_data(state: BeaconState, vote_data: SlashableVoteData)
|
||||
pubkeys=pubs,
|
||||
messages=messages,
|
||||
signature=vote_data.aggregate_signature,
|
||||
domain=DOMAIN_ATTESTATION,
|
||||
domain=get_domain(
|
||||
state.fork_data,
|
||||
state.slot,
|
||||
DOMAIN_ATTESTATION,
|
||||
),
|
||||
)
|
||||
```
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user