cl: typo
This commit is contained in:
parent
1d16f40a4c
commit
762fdcc980
|
@ -67,7 +67,7 @@ impl DeathProof {
|
|||
.unwrap();
|
||||
|
||||
println!(
|
||||
"STARK prover time: {:.2?}, total_cycles: {}",
|
||||
"STARK 'death-nop' prover time: {:.2?}, total_cycles: {}",
|
||||
start_t.elapsed(),
|
||||
prove_info.stats.total_cycles
|
||||
);
|
||||
|
|
|
@ -45,7 +45,7 @@ impl ProvedInput {
|
|||
.unwrap();
|
||||
|
||||
println!(
|
||||
"STARK prover time: {:.2?}, total_cycles: {}",
|
||||
"STARK 'input' prover time: {:.2?}, total_cycles: {}",
|
||||
start_t.elapsed(),
|
||||
prove_info.stats.total_cycles
|
||||
);
|
||||
|
|
|
@ -14,7 +14,7 @@ impl PartialTxInput {
|
|||
fn verify(&self, ptx_root: cl::PtxRoot) -> bool {
|
||||
let nf = self.input.input.input.nullifier;
|
||||
self.input.input.input.death_cm == self.death.death_commitment() // ensure the death proof is actually for this input
|
||||
&& self.input.verify() // ensure the input proof is valie
|
||||
&& self.input.verify() // ensure the input proof is valid
|
||||
&& self.death.verify(DeathConstraintPublic { nf, ptx_root }) // verify the death constraint was satisfied
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue