Skip to content

Commit

Permalink
Comments, provide default init for hash_cache.
Browse files Browse the repository at this point in the history
  • Loading branch information
evoskuil committed Jan 13, 2025
1 parent da06357 commit 9763bc6
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion include/bitcoin/system/impl/machine/interpreter.ipp
Original file line number Diff line number Diff line change
Expand Up @@ -1111,7 +1111,9 @@ op_check_multisig_verify() NOEXCEPT

ec_signature sig;
uint8_t sighash_flags;
typename state::hash_cache cache;

// Bucket count default is typically around 8.
typename state::hash_cache cache{};

// Subscript is the same for all signatures.
const auto sub = state::subscript(endorsements);
Expand Down

0 comments on commit 9763bc6

Please sign in to comment.