No need to send so many headers to node0

We're only interested in node0 processing up to block 102, so we don't need
so many of the headers.
This commit is contained in:
Alexander Block 2019-06-21 13:56:54 +02:00
parent c2ac477a11
commit d03bc6d023

View File

@ -186,7 +186,6 @@ class AssumeValidTest(BitcoinTestFramework):
# node1 must receive all headers as otherwise assumevalid is ignored in ConnectBlock
# node2 should NOT receive all headers to force skipping of the assumevalid check in ConnectBlock
node0.send_header_for_blocks(self.blocks[0:2000])
node0.send_header_for_blocks(self.blocks[2000:])
node1.send_header_for_blocks(self.blocks[0:2000])
node1.send_header_for_blocks(self.blocks[2000:4000])
node1.send_header_for_blocks(self.blocks[4000:6000])