Modify attestion_aggregation to use frok version in domain

This commit is contained in:
Kirk Baird 2019-02-23 14:39:54 +11:00
parent a5cbda0b60
commit 9f9b466f95
No known key found for this signature in database
GPG Key ID: BF864B7ED0BEA33F

View File

@ -114,7 +114,10 @@ impl AttestationAggregator {
if !free_attestation.signature.verify(
&signable_message,
spec.domain_attestation,
cached_state.state.fork.get_domain(
cached_state.state.current_epoch(spec),
spec.domain_attestation,
),
&validator_record.pubkey,
) {
return Ok(Outcome {