Add domain to all signature funcitons, modify validate_proof_of_possession()

This commit is contained in:
Kirk Baird
2019-02-15 13:58:14 +11:00
parent 88c42bf3fb
commit 977f3edfb6
19 changed files with 98 additions and 65 deletions

View File

@@ -112,7 +112,7 @@ impl AttestationAggregator {
if !free_attestation
.signature
.verify(&signable_message, &validator_record.pubkey)
.verify(&signable_message, spec.domain_attestation, &validator_record.pubkey)
{
return Ok(Outcome {
valid: false,