aboutsummaryrefslogtreecommitdiff
path: root/test/functional/p2p_blocksonly.py
diff options
context:
space:
mode:
authorAmiti Uttarwar <amiti@uttarwar.org>2020-12-22 16:54:18 -0800
committerAmiti Uttarwar <amiti@uttarwar.org>2020-12-26 13:30:54 -0800
commitb1a936d4ae7dd9030b0720ef05579a90ce2894f1 (patch)
tree15d237a7aa5e20bbcc15ca97366a9ae2c00a2eec /test/functional/p2p_blocksonly.py
parent094c3beaa47c909070607e94f2544ed1472ddb17 (diff)
downloadbitcoin-b1a936d4ae7dd9030b0720ef05579a90ce2894f1.tar.xz
[rpc] Remove deprecated "whitelisted" field from getpeerinfo
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 e80422d1cf..646baa1550 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", '-deprecatedrpc=whitelisted'])
+ self.restart_node(0, ["-persistmempool=0", "-whitelist=relay@127.0.0.1", "-blocksonly"])
assert_equal(self.nodes[0].getrawmempool(), [])
first_peer = self.nodes[0].add_p2p_connection(P2PInterface())
second_peer = self.nodes[0].add_p2p_connection(P2PInterface())