From 1557bf1196bc2bdf00fd32f3b5d525796b4d194c Mon Sep 17 00:00:00 2001 From: brunoerg Date: Tue, 28 Mar 2023 17:44:58 -0300 Subject: [PATCH] test: fix mature utxos addition to wallet in `mempool_package_limits` --- test/functional/mempool_package_limits.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/test/functional/mempool_package_limits.py b/test/functional/mempool_package_limits.py index 6143ae83dee..81451bf2a5c 100755 --- a/test/functional/mempool_package_limits.py +++ b/test/functional/mempool_package_limits.py @@ -46,8 +46,7 @@ class MempoolPackageLimitsTest(BitcoinTestFramework): def run_test(self): self.wallet = MiniWallet(self.nodes[0]) # Add enough mature utxos to the wallet so that all txs spend confirmed coins. - self.generate(self.wallet, 35) - self.generate(self.nodes[0], COINBASE_MATURITY) + self.generate(self.wallet, COINBASE_MATURITY + 35) self.test_chain_limits() self.test_desc_count_limits()