Adjust tests and benchmarks

This commit is contained in:
Sean Bowe
2018-05-11 06:42:35 -06:00
parent 31989317c9
commit 34f6ea95dc
3 changed files with 6 additions and 6 deletions

View File

@@ -77,11 +77,11 @@ void test_full_api(ZCJoinSplit* js)
);
}
auto sprout_proof = boost::relaxed_get<ZCProof, ZCProof, GrothProof>(&proof);
auto sprout_proof = boost::get<ZCProof>(proof);
// Verify the transaction:
ASSERT_TRUE(js->verify(
*sprout_proof,
sprout_proof,
verifier,
pubKeyHash,
randomSeed,
@@ -155,11 +155,11 @@ void test_full_api(ZCJoinSplit* js)
);
}
sprout_proof = boost::relaxed_get<ZCProof, ZCProof, GrothProof>(&proof);
sprout_proof = boost::get<ZCProof>(proof);
// Verify the transaction:
ASSERT_TRUE(js->verify(
*sprout_proof,
sprout_proof,
verifier,
pubKeyHash,
randomSeed,