mirror of
https://github.com/sigp/lighthouse.git
synced 2026-03-03 00:31:50 +00:00
Update to signature-scheme 0.5.2
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user