Always skip verification for old Sprout proofs
This commit is contained in:
parent
0512e9eb00
commit
34297c3dec
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue