test: Use generate* from TestFramework, not TestNode

This commit is contained in:
MarcoFalke
2021-10-06 13:41:31 +02:00
parent 66d11b1435
commit faac1cda6e
2 changed files with 5 additions and 5 deletions

View File

@@ -244,7 +244,7 @@ class MempoolPackageLimitsTest(BitcoinTestFramework):
assert_equal(txres["package-error"], "package-mempool-limits")
# Clear mempool and check that the package passes now
node.generate(1)
self.generate(node, 1)
assert all([res["allowed"] for res in node.testmempoolaccept(rawtxs=package_hex)])
def test_anc_count_limits(self):