Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: only remove tmpdir when tmpdir actually is created (#38)
It could be that tmpdir is never created, particularly in the --r1cs mode (so there is no circom compilation which requires tmpdir), and under the situation where propagation suffices for determining safety (so no need to call the solver => no need to create the smt2 file in the tmpdir). In such case, tmpdir is false, so Picus fails with a contract error. This commit fixes the problem.
- Loading branch information