0
0
Fork 0
mirror of https://github.com/bitcoin/bitcoin.git synced 2025-02-08 10:31:50 -05:00

test: Remove unused self.connect_nodes

The nodes are stopped in the next line, no need to connect them
This commit is contained in:
MarcoFalke 2021-09-20 15:51:28 +02:00
parent fafb7b7a89
commit fa4db92617
No known key found for this signature in database
GPG key ID: CE2B75697E69A548

View file

@ -103,7 +103,6 @@ class MempoolPersistTest(BitcoinTestFramework):
assert_equal(len(self.nodes[0].getpeerinfo()), 0)
assert_equal(len(self.nodes[0].p2ps), 0)
self.mini_wallet.send_self_transfer(from_node=self.nodes[0])
self.connect_nodes(0, 2)
self.log.debug("Stop-start the nodes. Verify that node0 has the transactions in its mempool and node1 does not. Verify that node2 calculates its balance correctly after loading wallet transactions.")
self.stop_nodes()