[qa] Fix stale data bug in test_compactblocks_not_at_tip
commit55bfddcabbf9e8a3743f77167ba4a43aaba9f948
authorRussell Yanofsky <russ@chaincode.com>
Wed, 26 Oct 2016 18:15:16 +0000 (26 14:15 -0400)
committerRussell Yanofsky <russ@yanofsky.org>
Wed, 2 Nov 2016 19:35:11 +0000 (2 15:35 -0400)
treed3d5a521cb764a4e222ff2d517613779198ba220
parent47e9659ecfbe07077a4564591095bd5510e0f917
[qa] Fix stale data bug in test_compactblocks_not_at_tip

Clear test_node.last_block before requesting blocks in the
compactblocks_not_at_tip test so comparisons won't fail if a blocks were received
before the test started.

The bug doesn't currently cause any problems due to the order tests run, but
this will change in the next commit.
qa/rpc-tests/p2p-compactblocks.py