Skip to content

Commit

Permalink
[postcli] Pass scrypt params to verify proof
Browse files Browse the repository at this point in the history
  • Loading branch information
poszu committed Jan 24, 2024
1 parent 37d0b6f commit ac6f915
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion cmd/postcli/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -302,7 +302,8 @@ func main() {
log.Fatalln("failed to create verifier", err)
}
defer verifier.Close()
if err := verifier.Verify(proof, proofMetadata, cfg, logger); err != nil {
err = verifier.Verify(proof, proofMetadata, cfg, logger, verifying.WithLabelScryptParams(opts.Scrypt))
if err != nil {
log.Fatalln("failed to verify test proof", err)
}

Expand Down

0 comments on commit ac6f915

Please sign in to comment.