Skip to content

Commit

Permalink
nullptr
Browse files Browse the repository at this point in the history
  • Loading branch information
Rigidity committed Aug 15, 2024
1 parent b101f59 commit ed78752
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions tests/test.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -598,10 +598,8 @@ TEST_CASE("K Sizes")

SECTION("Minimum K Size")
{
uint8_t *proof_data = new uint8_t[0];
LargeBits result = verifier.ValidateProof(plot_id_1, kMinPlotSize - 1, challenge, proof_data, 0);
LargeBits result = verifier.ValidateProof(plot_id_1, kMinPlotSize - 1, challenge, nullptr, 0);
REQUIRE(result.GetSize() == 0);
delete[] proof_data;
}

SECTION("Maximum K Size")
Expand Down

0 comments on commit ed78752

Please sign in to comment.