mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-02-09 10:43:19 -05:00
Merge bitcoin/bitcoin#23881: doc: Remove TODO from block fuzz test
fa5d0b6ecd
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: ACKfa5d0b6ecd
Tree-SHA512: 8fe03a5bdebf4d6dad00f410a1dc6449c485a4d61afb79ebcaa221489cde2a465fea981742fde130238ebed6d2f1f032aa4976726ee07b23fe7fb745b2728d46
This commit is contained in:
commit
45249e70d9
1 changed files with 0 additions and 2 deletions
|
@ -58,8 +58,6 @@ FUZZ_TARGET_INIT(block, initialize_block)
|
||||||
(void)block.ToString();
|
(void)block.ToString();
|
||||||
(void)BlockMerkleRoot(block);
|
(void)BlockMerkleRoot(block);
|
||||||
if (!block.vtx.empty()) {
|
if (!block.vtx.empty()) {
|
||||||
// TODO: Avoid array index out of bounds error in BlockWitnessMerkleRoot
|
|
||||||
// when block.vtx.empty().
|
|
||||||
(void)BlockWitnessMerkleRoot(block);
|
(void)BlockWitnessMerkleRoot(block);
|
||||||
}
|
}
|
||||||
(void)GetBlockWeight(block);
|
(void)GetBlockWeight(block);
|
||||||
|
|
Loading…
Add table
Reference in a new issue