From ffa2864ea5664b8393d47280f9c6d2ccc461fab2 Mon Sep 17 00:00:00 2001 From: Rigidity Date: Mon, 5 Aug 2024 13:11:18 -0400 Subject: [PATCH] Negate discriminant --- src/c_bindings/c_wrapper.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/c_bindings/c_wrapper.cpp b/src/c_bindings/c_wrapper.cpp index 6891e254..e56c7a73 100644 --- a/src/c_bindings/c_wrapper.cpp +++ b/src/c_bindings/c_wrapper.cpp @@ -46,7 +46,7 @@ extern "C" { std::vector proof_blob_v(proof_blob, proof_blob + proof_blob_size); return CheckProofOfTimeNWesolowski( - discriminant, + -discriminant, x_s_v.data(), proof_blob_v.data(), proof_blob_v.size(),