Skip to content

Commit

Permalink
use proof_str.size() per Arvid
Browse files Browse the repository at this point in the history
  • Loading branch information
emlowe authored Jan 31, 2025
1 parent 3f7d593 commit 26235de
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion python-bindings/chiapos.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -165,7 +165,7 @@ PYBIND11_MODULE(chiapos, m)

std::string proof_str(proof);
const uint8_t *proof_ptr = reinterpret_cast<const uint8_t *>(proof_str.data());
auto proof_size = len(proof);
auto proof_size = proof_str.size();

LargeBits quality;
{
Expand Down

0 comments on commit 26235de

Please sign in to comment.