diff options
author | MarcoFalke <falke.marco@gmail.com> | 2018-09-10 16:58:15 -0400 |
---|---|---|
committer | MarcoFalke <falke.marco@gmail.com> | 2018-10-24 22:02:28 -0400 |
commit | 86fadee9904198ca706d706a8545ee908e830dfa (patch) | |
tree | 22fd53b4aae057c4308ad0cd5e4398046cbf79ec /test/functional/rpc_blockchain.py | |
parent | 8bc1badadae684e218600fe1e9a05f726120aacb (diff) | |
download | bitcoin-86fadee9904198ca706d706a8545ee908e830dfa.tar.xz |
qa: Premine to deterministic address with -disablewallet
Github-Pull: #14180
Rebased-From: faa669cbcd1fc799517b523b0f850e01b11bf40a
Diffstat (limited to 'test/functional/rpc_blockchain.py')
-rwxr-xr-x | test/functional/rpc_blockchain.py | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/test/functional/rpc_blockchain.py b/test/functional/rpc_blockchain.py index d681cdc8ab..c8144bba71 100755 --- a/test/functional/rpc_blockchain.py +++ b/test/functional/rpc_blockchain.py @@ -47,9 +47,10 @@ from test_framework.mininode import ( class BlockchainTest(BitcoinTestFramework): def set_test_params(self): self.num_nodes = 1 - self.extra_args = [['-stopatheight=207', '-prune=1']] def run_test(self): + self.restart_node(0, extra_args=['-stopatheight=207', '-prune=1']) # Set extra args with pruning after rescan is complete + self._test_getblockchaininfo() self._test_getchaintxstats() self._test_gettxoutsetinfo() @@ -169,7 +170,7 @@ class BlockchainTest(BitcoinTestFramework): assert_equal(res['transactions'], 200) assert_equal(res['height'], 200) assert_equal(res['txouts'], 200) - assert_equal(res['bogosize'], 17000), + assert_equal(res['bogosize'], 15000), assert_equal(res['bestblock'], node.getblockhash(200)) size = res['disk_size'] assert size > 6400 |