mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-01-24 10:17:45 -03:00
test: make sure node has all transactions
This commit is contained in:
parent
ee1b9bef00
commit
7239ddb7ce
1 changed files with 1 additions and 1 deletions
|
@ -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)
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue