Skip to content

Commit 45249e7

Browse files
committed
Merge bitcoin/bitcoin#23881: doc: Remove TODO from block fuzz test
fa5d0b6 doc: Remove TODO from block fuzz test (MarcoFalke) Pull request description: I don't see a reason to fix the TODO, as all call sites assume at least one tx in `vtx`. So remove it. ACKs for top commit: fanquake: ACK fa5d0b6 Tree-SHA512: 8fe03a5bdebf4d6dad00f410a1dc6449c485a4d61afb79ebcaa221489cde2a465fea981742fde130238ebed6d2f1f032aa4976726ee07b23fe7fb745b2728d46
2 parents d3582f2 + fa5d0b6 commit 45249e7

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

src/test/fuzz/block.cpp

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -58,8 +58,6 @@ FUZZ_TARGET_INIT(block, initialize_block)
5858
(void)block.ToString();
5959
(void)BlockMerkleRoot(block);
6060
if (!block.vtx.empty()) {
61-
// TODO: Avoid array index out of bounds error in BlockWitnessMerkleRoot
62-
// when block.vtx.empty().
6361
(void)BlockWitnessMerkleRoot(block);
6462
}
6563
(void)GetBlockWeight(block);

0 commit comments

Comments
 (0)