aboutsummaryrefslogtreecommitdiff
path: root/test/functional/p2p_blocksonly.py
diff options
context:
space:
mode:
authorLuke Dashjr <luke-jr+git@utopios.org>2020-08-20 18:42:54 +0000
committerLuke Dashjr <luke-jr+git@utopios.org>2020-10-14 14:16:42 +0000
commitd681a28219d3876a2b6e3cd2fb0d92963674903e (patch)
treeac1da24af138b3f755ea3ebe109ac9bd07a6fcf1 /test/functional/p2p_blocksonly.py
parent99a1d572eabca89790216b3919a237e07063a376 (diff)
downloadbitcoin-d681a28219d3876a2b6e3cd2fb0d92963674903e.tar.xz
RPC: getpeerinfo: Deprecate "whitelisted" field (replaced by "permissions")
Diffstat (limited to 'test/functional/p2p_blocksonly.py')
-rwxr-xr-xtest/functional/p2p_blocksonly.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/functional/p2p_blocksonly.py b/test/functional/p2p_blocksonly.py
index 646baa1550..e80422d1cf 100755
--- a/test/functional/p2p_blocksonly.py
+++ b/test/functional/p2p_blocksonly.py
@@ -59,7 +59,7 @@ class P2PBlocksOnly(BitcoinTestFramework):
self.log.info('Check that txs from peers with relay-permission are not rejected and relayed to others')
self.log.info("Restarting node 0 with relay permission and blocksonly")
- self.restart_node(0, ["-persistmempool=0", "-whitelist=relay@127.0.0.1", "-blocksonly"])
+ self.restart_node(0, ["-persistmempool=0", "-whitelist=relay@127.0.0.1", "-blocksonly", '-deprecatedrpc=whitelisted'])
assert_equal(self.nodes[0].getrawmempool(), [])
first_peer = self.nodes[0].add_p2p_connection(P2PInterface())
second_peer = self.nodes[0].add_p2p_connection(P2PInterface())