Update to signature-scheme 0.5.2

This commit is contained in:
Kirk Baird
2019-02-18 10:50:40 +11:00
parent 977f3edfb6
commit 9c4a1f1d1f
12 changed files with 67 additions and 38 deletions

View File

@@ -110,10 +110,11 @@ impl AttestationAggregator {
Message::BadValidatorIndex
);
if !free_attestation
.signature
.verify(&signable_message, spec.domain_attestation, &validator_record.pubkey)
{
if !free_attestation.signature.verify(
&signable_message,
spec.domain_attestation,
&validator_record.pubkey,
) {
return Ok(Outcome {
valid: false,
message: Message::BadSignature,