Skip to content

Commit 21cce36

Browse files
committed
fix
1 parent 2bfab78 commit 21cce36

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/python_bindings/fastvdf.cpp

+2-1
Original file line numberDiff line numberDiff line change
@@ -110,11 +110,12 @@ PYBIND11_MODULE(chiavdf, m) {
110110
std::string discriminant_copy(discriminant);
111111
std::string x_s_copy(x_s);
112112
std::string proof_blob_copy(proof_blob);
113+
integer B;
113114
{
114115
py::gil_scoped_release release;
115116
uint8_t *proof_blob_ptr = reinterpret_cast<uint8_t *>(proof_blob_copy.data());
116117
int proof_blob_size = proof_blob_copy.size();
117-
integer B = GetBFromProof(integer(discriminant_copy), (const uint8_t *)x_s_copy.data(), proof_blob_ptr, proof_blob_size, num_iterations, recursion);
118+
B = GetBFromProof(integer(discriminant_copy), (const uint8_t *)x_s_copy.data(), proof_blob_ptr, proof_blob_size, num_iterations, recursion);
118119
}
119120
return B.to_string();
120121
});

0 commit comments

Comments
 (0)