aboutsummaryrefslogtreecommitdiff
path: root/test/functional/p2p_filter.py
diff options
context:
space:
mode:
authorMarcoFalke <falke.marco@gmail.com>2020-08-04 12:55:35 +0200
committerMarcoFalke <falke.marco@gmail.com>2020-08-04 16:13:33 +0200
commitfa4dfd215f62e88d668311701735c332c264fa2a (patch)
tree424588fce802c26e7aa4554c00081f8a2408954c /test/functional/p2p_filter.py
parent3c93623be20d534bb653410db03d38152135e2e6 (diff)
downloadbitcoin-fa4dfd215f62e88d668311701735c332c264fa2a.tar.xz
test: Wait until is_connected in add_p2p_connection
Diffstat (limited to 'test/functional/p2p_filter.py')
-rwxr-xr-xtest/functional/p2p_filter.py5
1 files changed, 0 insertions, 5 deletions
diff --git a/test/functional/p2p_filter.py b/test/functional/p2p_filter.py
index c8e2616b79..ce3856fc95 100755
--- a/test/functional/p2p_filter.py
+++ b/test/functional/p2p_filter.py
@@ -218,11 +218,6 @@ class FilterTest(BitcoinTestFramework):
# Add peer but do not send version yet
filter_peer_without_nrelay = self.nodes[0].add_p2p_connection(P2PBloomFilter(), send_version=False, wait_for_verack=False)
# Send version with fRelay=False
- filter_peer_without_nrelay.wait_until(
- lambda: filter_peer_without_nrelay.is_connected,
- timeout=10,
- check_connected=False,
- )
version_without_fRelay = msg_version()
version_without_fRelay.nRelay = 0
filter_peer_without_nrelay.send_message(version_without_fRelay)