Skip to content

Commit

Permalink
fixup with "Add peers whitelist for tests using mocked time"
Browse files Browse the repository at this point in the history
  • Loading branch information
furszy committed Jul 1, 2021
1 parent 990d0cc commit 12f581c
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions test/functional/wallet_listtransactions.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,8 @@ def txFromHex(hexstring):
class ListTransactionsTest(PivxTestFramework):
def set_test_params(self):
self.num_nodes = 2
# whitelist all peers to speed up tx relay / mempool sync
self.extra_args = [["-whitelist=127.0.0.1"]] * self.num_nodes
self.enable_mocktime()

def run_test(self):
Expand Down

0 comments on commit 12f581c

Please sign in to comment.