diff options
author | MarcoFalke <falke.marco@gmail.com> | 2020-02-25 23:38:56 +0700 |
---|---|---|
committer | MarcoFalke <falke.marco@gmail.com> | 2020-02-26 00:00:29 +0700 |
commit | fa45d606461dbf5bf1017d6ab15e89c1bcf821a6 (patch) | |
tree | 7ae16a19f209013ed77c7b35431ab505cb88b0d9 /test/functional/p2p_segwit.py | |
parent | 31c0006a6cd5ecbabd119eaf9dae6978aa54f150 (diff) |
test: Reduce unneeded whitelist permissions in tests
Diffstat (limited to 'test/functional/p2p_segwit.py')
-rwxr-xr-x | test/functional/p2p_segwit.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/test/functional/p2p_segwit.py b/test/functional/p2p_segwit.py index 3223c27e0b..ad5a124680 100755 --- a/test/functional/p2p_segwit.py +++ b/test/functional/p2p_segwit.py @@ -188,9 +188,9 @@ class SegWitTest(BitcoinTestFramework): self.num_nodes = 3 # This test tests SegWit both pre and post-activation, so use the normal BIP9 activation. self.extra_args = [ - ["-whitelist=127.0.0.1", "-acceptnonstdtxn=1", "-segwitheight={}".format(SEGWIT_HEIGHT)], - ["-whitelist=127.0.0.1", "-acceptnonstdtxn=0", "-segwitheight={}".format(SEGWIT_HEIGHT)], - ["-whitelist=127.0.0.1", "-acceptnonstdtxn=1", "-segwitheight=-1"] + ["-acceptnonstdtxn=1", "-segwitheight={}".format(SEGWIT_HEIGHT), "-whitelist=noban@127.0.0.1"], + ["-acceptnonstdtxn=0", "-segwitheight={}".format(SEGWIT_HEIGHT)], + ["-acceptnonstdtxn=1", "-segwitheight=-1"], ] self.supports_cli = False |