Skip to content

Commit 1fa8423

Browse files
Merge pull request #33 from Loopring/fix-validate-in-prove
do validate in prove mode
2 parents 77ac483 + ae8170c commit 1fa8423

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

main.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -514,7 +514,7 @@ int main (int argc, char **argv)
514514
}
515515
}
516516

517-
if (mode == Mode::Validate)
517+
if (mode == Mode::Validate || mode == Mode::Prove)
518518
{
519519
// Check if the inputs are valid for the circuit
520520
if (!pb.is_satisfied())

0 commit comments

Comments
 (0)