diff options
| author | MarcoFalke <[email protected]> | 2020-02-25 23:38:56 +0700 |
|---|---|---|
| committer | MarcoFalke <[email protected]> | 2020-02-26 00:00:29 +0700 |
| commit | fa45d606461dbf5bf1017d6ab15e89c1bcf821a6 (patch) | |
| tree | 7ae16a19f209013ed77c7b35431ab505cb88b0d9 /test/functional/feature_maxuploadtarget.py | |
| parent | Merge #17264: rpc: set default bip32derivs to true for psbt methods (diff) | |
| download | discoin-fa45d606461dbf5bf1017d6ab15e89c1bcf821a6.tar.xz discoin-fa45d606461dbf5bf1017d6ab15e89c1bcf821a6.zip | |
test: Reduce unneeded whitelist permissions in tests
Diffstat (limited to 'test/functional/feature_maxuploadtarget.py')
| -rwxr-xr-x | test/functional/feature_maxuploadtarget.py | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/test/functional/feature_maxuploadtarget.py b/test/functional/feature_maxuploadtarget.py index 8d200915b..974388d79 100755 --- a/test/functional/feature_maxuploadtarget.py +++ b/test/functional/feature_maxuploadtarget.py @@ -140,10 +140,9 @@ class MaxUploadTest(BitcoinTestFramework): self.nodes[0].disconnect_p2ps() - #stop and start node 0 with 1MB maxuploadtarget, whitelist 127.0.0.1 - self.log.info("Restarting nodes with -whitelist=127.0.0.1") + self.log.info("Restarting node 0 with noban permission and 1MB maxuploadtarget") self.stop_node(0) - self.start_node(0, ["-whitelist=127.0.0.1", "-maxuploadtarget=1"]) + self.start_node(0, ["[email protected]", "-maxuploadtarget=1"]) # Reconnect to self.nodes[0] self.nodes[0].add_p2p_connection(TestP2PConn()) |