We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 55b7abf commit 6baa317Copy full SHA for 6baa317
test/functional/minchainwork.py
@@ -81,6 +81,10 @@ def run_test(self):
81
# we'd expect node1 to have disconnected node0 for serving an
82
# insufficient work chain, in which case we'd need to reconnect them to
83
# continue the test.
84
+ # NOTE: before commit 44407100ff9b478d6131a1c38ee993b50b1830df, regtest
85
+ # connections were not manual, so the reconnect is necessary.
86
+ if (len(self.nodes[0].getpeerinfo()) == 0):
87
+ connect_nodes(self.nodes[1], 0)
88
89
self.sync_all()
90
self.log.info("Blockcounts: %s", [n.getblockcount() for n in self.nodes])
0 commit comments