From fa83c0c44ff2072f7c3e56000edc805321bcf41a Mon Sep 17 00:00:00 2001 From: MacroFake Date: Thu, 23 Jun 2022 11:49:31 +0200 Subject: [PATCH] test: Remove unused call to generate in rpc_mempool_info There are already enough blocks --- test/functional/rpc_mempool_info.py | 2 -- 1 file changed, 2 deletions(-) diff --git a/test/functional/rpc_mempool_info.py b/test/functional/rpc_mempool_info.py index cd7a48d387e..9b5a3b91123 100755 --- a/test/functional/rpc_mempool_info.py +++ b/test/functional/rpc_mempool_info.py @@ -4,7 +4,6 @@ # file COPYING or http://www.opensource.org/licenses/mit-license.php. """Test RPCs that retrieve information from the mempool.""" -from test_framework.blocktools import COINBASE_MATURITY from test_framework.test_framework import BitcoinTestFramework from test_framework.util import ( assert_equal, @@ -19,7 +18,6 @@ class RPCMempoolInfoTest(BitcoinTestFramework): def run_test(self): self.wallet = MiniWallet(self.nodes[0]) - self.generate(self.wallet, COINBASE_MATURITY + 1) self.wallet.rescan_utxos() confirmed_utxo = self.wallet.get_utxo()