-BEGIN VERIFY SCRIPT-
sed -i --regexp-extended -e 's/connect_nodes_bi\(self.nodes,\s*(.),\s*/connect_nodes(self.nodes[\1], /g' $(git grep -l connect_nodes_bi)
sed -i --regexp-extended -e 's/connect_nodes_bi(,| )/connect_nodes\1/g' $(git grep -l connect_nodes_bi)
sed -i -- 's/connect_nodes_bi/connect_nodes/g' $(git grep -l connect_nodes_bi)
git restore test/functional/test_framework/util.py
-END VERIFY SCRIPT-
(script doesn't match our connect_nodes's API)
https://github.com/bitcoin/bitcoin/pull/16898/commits/fa3b9ee8b2280af4bcbcfffff275aaf8dd125929
Depends on D6490
Partial backport of Core PR16898