diff options
author | John Newbery <john@johnnewbery.com> | 2019-11-01 17:38:44 -0400 |
---|---|---|
committer | John Newbery <john@johnnewbery.com> | 2019-11-06 14:56:35 -0500 |
commit | af7bae734089f6af0029b0887932ccd9a469e12e (patch) | |
tree | 7be783d45a56f981e732cc13d20047e0d3f28da5 /test/functional/rpc_fundrawtransaction.py | |
parent | 9a8505299ba392acbab4647963113b0c29495f1d (diff) |
[tests] Don't stop-start unnecessarily in rpc_fundrawtransaction.py
This was only added in c1dde3a949b36ce9c2155777b3fa1372e7ed97d8 to match
behaviour when `encryptwallet` would restart the node. It's not required
for the test (and slows things down).
Diffstat (limited to 'test/functional/rpc_fundrawtransaction.py')
-rwxr-xr-x | test/functional/rpc_fundrawtransaction.py | 16 |
1 files changed, 0 insertions, 16 deletions
diff --git a/test/functional/rpc_fundrawtransaction.py b/test/functional/rpc_fundrawtransaction.py index 84f7ac6400..693051edc0 100755 --- a/test/functional/rpc_fundrawtransaction.py +++ b/test/functional/rpc_fundrawtransaction.py @@ -494,22 +494,6 @@ class RawTransactionsTest(BitcoinTestFramework): self.log.info("Test fundrawtxn with locked wallet") self.nodes[1].encryptwallet("test") - self.stop_nodes() - - self.start_nodes() - # This test is not meant to test fee estimation and we'd like - # to be sure all txns are sent at a consistent desired feerate. - for node in self.nodes: - node.settxfee(self.min_relay_tx_fee) - - connect_nodes(self.nodes[0], 1) - connect_nodes(self.nodes[1], 2) - connect_nodes(self.nodes[0], 2) - connect_nodes(self.nodes[0], 3) - # Again lock the watchonly UTXO or nodes[0] may spend it, because - # lockunspent is memory-only and thus lost on restart. - self.nodes[0].lockunspent(False, [{"txid": self.watchonly_txid, "vout": self.watchonly_vout}]) - self.sync_all() # Drain the keypool. self.nodes[1].getnewaddress() |