[tests] Use -whitelist in rpc_fundrawtransaction.py

Makes tx relay faster
This commit is contained in:
John Newbery 2019-11-01 17:38:19 -04:00
parent 646b593bbd
commit 9a8505299b

View file

@ -28,6 +28,9 @@ class RawTransactionsTest(BitcoinTestFramework):
def set_test_params(self):
self.num_nodes = 4
self.setup_clean_chain = True
# This test isn't testing tx relay. Set whitelist on the peers for
# instant tx relay.
self.extra_args = [['-whitelist=127.0.0.1']] * self.num_nodes
def skip_test_if_missing_module(self):
self.skip_if_no_wallet()