We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent cd34bb8 commit 6c27f53Copy full SHA for 6c27f53
1 file changed
src/chain/block.cpp
@@ -231,7 +231,7 @@ hashes block::transaction_hashes(bool witness) const NOEXCEPT
231
{
232
const auto count = txs_->size();
233
const auto size = is_odd(count) && count > one ? add1(count) : count;
234
- hashes out{ size };
+ hashes out(size);
235
236
// Extra allocation for odd count optimizes for merkle root.
237
// Vector capacity is never reduced when resizing to smaller size.
0 commit comments