test: Remove unused call to generate in rpc_mempool_info

There are already enough blocks
This commit is contained in:
MacroFake 2022-06-23 11:49:31 +02:00
parent fa13375aa3
commit fa83c0c44f
No known key found for this signature in database
GPG key ID: CE2B75697E69A548

View file

@ -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()