diff options
author | John Newbery <john@johnnewbery.com> | 2018-10-16 11:21:07 -0400 |
---|---|---|
committer | John Newbery <john@johnnewbery.com> | 2018-11-01 12:53:49 -0400 |
commit | 3fd7e76f6d4b4eae0b36d9b33376274f5387a6f3 (patch) | |
tree | e01790c1fba7dba4f6a3954f3d86f8bb3dbf7ce7 /test/functional/feature_fee_estimation.py | |
parent | 08a57d51e90c232421681c9e6fe037ea4b3ed079 (diff) | |
download | bitcoin-3fd7e76f6d4b4eae0b36d9b33376274f5387a6f3.tar.xz |
[tests] Move deterministic address import to setup_nodes
This requires a small changes to a few tests, but means that
deterministic addresses will always be imported (unless setup_nodes
behaviour is explicitly overridden).
Diffstat (limited to 'test/functional/feature_fee_estimation.py')
-rwxr-xr-x | test/functional/feature_fee_estimation.py | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/test/functional/feature_fee_estimation.py b/test/functional/feature_fee_estimation.py index aaab4279b5..b68e46adbc 100755 --- a/test/functional/feature_fee_estimation.py +++ b/test/functional/feature_fee_estimation.py @@ -144,6 +144,9 @@ class EstimateFeeTest(BitcoinTestFramework): # (68k weight is room enough for 120 or so transactions) # Node2 is a stingy miner, that # produces too small blocks (room for only 55 or so transactions) + self.start_nodes() + self.import_deterministic_coinbase_privkeys() + self.stop_nodes() def transact_and_mine(self, numblocks, mining_node): min_fee = Decimal("0.00001") @@ -171,11 +174,6 @@ class EstimateFeeTest(BitcoinTestFramework): newmem.append(utx) self.memutxo = newmem - def import_deterministic_coinbase_privkeys(self): - self.start_nodes() - super().import_deterministic_coinbase_privkeys() - self.stop_nodes() - def run_test(self): self.log.info("This test is time consuming, please be patient") self.log.info("Splitting inputs so we can generate tx's") |