Formatting

This commit is contained in:
Kirk Baird
2019-02-25 10:38:04 +11:00
parent f72b45147a
commit 4c3b0a6575
2 changed files with 9 additions and 13 deletions

View File

@@ -129,17 +129,13 @@ impl AttestationAggregator {
Some(validator_record) => validator_record,
};
if !free_attestation
.signature
.verify(
&signable_message,
cached_state.fork.get_domain(
cached_state.current_epoch(spec),
spec.domain_attestation,
),
&validator_record.pubkey,
)
{
if !free_attestation.signature.verify(
&signable_message,
cached_state
.fork
.get_domain(cached_state.current_epoch(spec), spec.domain_attestation),
&validator_record.pubkey,
) {
invalid_outcome!(Message::BadSignature);
}