Skip to content

Commit 9a85052

Browse files
committed
[tests] Use -whitelist in rpc_fundrawtransaction.py
Makes tx relay faster
1 parent 646b593 commit 9a85052

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

test/functional/rpc_fundrawtransaction.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,9 @@ class RawTransactionsTest(BitcoinTestFramework):
2828
def set_test_params(self):
2929
self.num_nodes = 4
3030
self.setup_clean_chain = True
31+
# This test isn't testing tx relay. Set whitelist on the peers for
32+
# instant tx relay.
33+
self.extra_args = [['-whitelist=127.0.0.1']] * self.num_nodes
3134

3235
def skip_test_if_missing_module(self):
3336
self.skip_if_no_wallet()

0 commit comments

Comments
 (0)