diff options
author | kouloumos <kouloumosa@gmail.com> | 2023-01-13 12:00:53 +0200 |
---|---|---|
committer | kouloumos <kouloumosa@gmail.com> | 2023-01-16 19:14:11 +0200 |
commit | 42029a7fd42e93426bdfb40d1918d739d20962af (patch) | |
tree | bee2352328ba671e6e65fefdd9b4c69b2e030b26 /test/functional/mining_getblocktemplate_longpoll.py | |
parent | 0377d6bb420b9a2fb79af0ebe088d2b20ec808a5 (diff) | |
download | bitcoin-42029a7fd42e93426bdfb40d1918d739d20962af.tar.xz |
test: remove redundant blocks generation logic
those tests already have enough mature utxos from the pre-mined chain.
Diffstat (limited to 'test/functional/mining_getblocktemplate_longpoll.py')
-rwxr-xr-x | test/functional/mining_getblocktemplate_longpoll.py | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/test/functional/mining_getblocktemplate_longpoll.py b/test/functional/mining_getblocktemplate_longpoll.py index e928ee4936..ec492f9e72 100755 --- a/test/functional/mining_getblocktemplate_longpoll.py +++ b/test/functional/mining_getblocktemplate_longpoll.py @@ -8,7 +8,6 @@ from decimal import Decimal import random import threading -from test_framework.blocktools import COINBASE_MATURITY from test_framework.test_framework import BitcoinTestFramework from test_framework.util import get_rpc_proxy from test_framework.wallet import MiniWallet @@ -62,9 +61,6 @@ class GetBlockTemplateLPTest(BitcoinTestFramework): thr.join(5) # wait 5 seconds or until thread exits assert not thr.is_alive() - # Add enough mature utxos to the wallets, so that all txs spend confirmed coins - self.generate(self.nodes[0], COINBASE_MATURITY) - self.log.info("Test that introducing a new transaction into the mempool will terminate the longpoll") thr = LongpollThread(self.nodes[0]) thr.start() |