mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-01-10 11:57:28 -03:00
test: Fix intermittent issue in mempool_compatibility
This commit is contained in:
parent
831675c8dc
commit
fa05d19bd6
1 changed files with 2 additions and 1 deletions
|
@ -29,7 +29,7 @@ class MempoolCompatibilityTest(BitcoinTestFramework):
|
|||
|
||||
def setup_network(self):
|
||||
self.add_nodes(self.num_nodes, versions=[
|
||||
150200, # oldest version supported by the test framework
|
||||
190100, # oldest version with getmempoolinfo.loaded (used to avoid intermittent issues)
|
||||
None,
|
||||
])
|
||||
self.start_nodes()
|
||||
|
@ -72,5 +72,6 @@ class MempoolCompatibilityTest(BitcoinTestFramework):
|
|||
assert old_tx_hash in old_node.getrawmempool()
|
||||
assert unbroadcasted_tx_hash in old_node.getrawmempool()
|
||||
|
||||
|
||||
if __name__ == "__main__":
|
||||
MempoolCompatibilityTest().main()
|
||||
|
|
Loading…
Reference in a new issue