Skip to content

Commit

Permalink
test: make sure node has all transactions
Browse files Browse the repository at this point in the history
  • Loading branch information
brunoerg committed Dec 5, 2024
1 parent ee1b9be commit 7239ddb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/functional/p2p_compactblocks.py
Original file line number Diff line number Diff line change
Expand Up @@ -733,7 +733,7 @@ def test_invalid_tx_in_compactblock(self, test_node):
# 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)

Expand Down

0 comments on commit 7239ddb

Please sign in to comment.