Always skip verification for old Sprout proofs

This commit is contained in:
Jack Grigg 2019-06-25 10:07:24 +02:00
parent 0512e9eb00
commit 34297c3dec
No known key found for this signature in database
GPG Key ID: 9E8255172BBF9898
1 changed files with 3 additions and 12 deletions

View File

@ -96,18 +96,9 @@ public:
bool operator()(const libzcash::PHGRProof& proof) const
{
return params.verify(
proof,
verifier,
joinSplitPubKey,
jsdesc.randomSeed,
jsdesc.macs,
jsdesc.nullifiers,
jsdesc.commitments,
jsdesc.vpub_old,
jsdesc.vpub_new,
jsdesc.anchor
);
// We checkpoint after Sapling activation, so we can skip verification
// for all Sprout proofs.
return true;
}
bool operator()(const libzcash::GrothProof& proof) const