diff options
author | brunoerg <brunoely.gc@gmail.com> | 2024-12-02 18:39:35 -0300 |
---|---|---|
committer | brunoerg <brunoely.gc@gmail.com> | 2024-12-05 16:12:38 -0300 |
commit | 7239ddb7cec38ab5a8aca93c18fb9efa6376421d (patch) | |
tree | ea17e2d782b1a3d8faa43fcd16be5ded7be524fd /test | |
parent | ee1b9bef000b7fb42a452faf06c6748a59ac02c7 (diff) |
test: make sure node has all transactions
Diffstat (limited to 'test')
-rwxr-xr-x | test/functional/p2p_compactblocks.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/functional/p2p_compactblocks.py b/test/functional/p2p_compactblocks.py index 5a56b8d3b1..ca36b2fbc0 100755 --- a/test/functional/p2p_compactblocks.py +++ b/test/functional/p2p_compactblocks.py @@ -733,7 +733,7 @@ class CompactBlocksTest(BitcoinTestFramework): # Now send the compact block with all transactions prefilled, and # verify that we don't get disconnected. comp_block = HeaderAndShortIDs() - comp_block.initialize_from_block(block, prefill_list=[0, 1, 2, 3, 4], use_witness=True) + comp_block.initialize_from_block(block, prefill_list=list(range(len(block.vtx))), use_witness=True) msg = msg_cmpctblock(comp_block.to_p2p()) test_node.send_and_ping(msg) |