Skip to content

Commit 9763bc6

Browse files
committed
Comments, provide default init for hash_cache.
1 parent da06357 commit 9763bc6

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

include/bitcoin/system/impl/machine/interpreter.ipp

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1111,7 +1111,9 @@ op_check_multisig_verify() NOEXCEPT
11111111

11121112
ec_signature sig;
11131113
uint8_t sighash_flags;
1114-
typename state::hash_cache cache;
1114+
1115+
// Bucket count default is typically around 8.
1116+
typename state::hash_cache cache{};
11151117

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

0 commit comments

Comments
 (0)