mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-07-12 17:32:42 +02:00
[refactor] use waiting inside disconnect_p2ps
-Use wait_for_disconnect instead of manual wait after calling disconnect_p2ps.
This commit is contained in:
@ -83,7 +83,6 @@ class NodeNetworkLimitedTest(BitcoinTestFramework):
|
||||
assert_equal(node1.firstAddrnServices, expected_services)
|
||||
|
||||
self.nodes[0].disconnect_p2ps()
|
||||
node1.wait_for_disconnect()
|
||||
|
||||
# connect unsynced node 2 with pruned NODE_NETWORK_LIMITED peer
|
||||
# because node 2 is in IBD and node 0 is a NODE_NETWORK_LIMITED peer, sync must not be possible
|
||||
|
Reference in New Issue
Block a user