Skip to content

Commit

Permalink
chore: fix mac build (#10963)
Browse files Browse the repository at this point in the history
Please read [contributing guidelines](CONTRIBUTING.md) and remove this
line.
  • Loading branch information
lucasxia01 authored Dec 24, 2024
1 parent c8dcd8f commit 158afc4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion barretenberg/cpp/src/barretenberg/bb/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -898,7 +898,7 @@ template <IsUltraFlavor Flavor> bool verify_honk(const std::string& proof_path,
// TODO(https://github.com/AztecProtocol/barretenberg/issues/1168): Add formula to flavor
const size_t HONK_PROOF_LENGTH = 469;
const size_t num_public_inputs =
static_cast<size_t>(proof[1]) - PAIRING_POINT_ACCUMULATOR_SIZE - IPA_CLAIM_SIZE;
static_cast<size_t>(uint64_t(proof[1])) - PAIRING_POINT_ACCUMULATOR_SIZE - IPA_CLAIM_SIZE;
// The extra calculation is for the IPA proof length.
debug("proof size: ", proof.size());
debug("num public inputs: ", num_public_inputs);
Expand Down

0 comments on commit 158afc4

Please sign in to comment.