diff options
author | John Newbery <john@johnnewbery.com> | 2019-11-01 17:38:19 -0400 |
---|---|---|
committer | John Newbery <john@johnnewbery.com> | 2019-11-06 14:56:29 -0500 |
commit | 9a8505299ba392acbab4647963113b0c29495f1d (patch) | |
tree | d7278dca91277097e9bd569494f4f7ffcb80ed7b /test | |
parent | 646b593bbd0db113c6e45ab92177b8f5251e8710 (diff) |
[tests] Use -whitelist in rpc_fundrawtransaction.py
Makes tx relay faster
Diffstat (limited to 'test')
-rwxr-xr-x | test/functional/rpc_fundrawtransaction.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/test/functional/rpc_fundrawtransaction.py b/test/functional/rpc_fundrawtransaction.py index e0421bb322..84f7ac6400 100755 --- a/test/functional/rpc_fundrawtransaction.py +++ b/test/functional/rpc_fundrawtransaction.py @@ -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() |