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…
Reference in New Issue