Skip to content

Commit

Permalink
Add missing libsnark initialization call
Browse files Browse the repository at this point in the history
Without it, the sighash_tests test fails when run on its own.
  • Loading branch information
per-gron committed Jan 23, 2018
1 parent 9b006ce commit 86627fe
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/zcash/Proof.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -202,6 +202,7 @@ r1cs_ppzksnark_proof<curve_pp> ZCProof::to_libsnark_proof() const

ZCProof ZCProof::random_invalid()
{
initialize_curve_params();
ZCProof p;
p.g_A = curve_G1::random_element();
p.g_A_prime = curve_G1::random_element();
Expand Down

0 comments on commit 86627fe

Please sign in to comment.