0
0
Fork 0
mirror of https://github.com/bitcoin/bitcoin.git synced 2025-03-05 14:06:27 -05:00

test: Fix intermittent feature_taproot issue

This commit is contained in:
MarcoFalke 2020-11-30 20:58:25 +01:00
parent 81d5af42f4
commit fa275e1539
No known key found for this signature in database
GPG key ID: CE2B75697E69A548

View file

@ -1442,6 +1442,10 @@ class TaprootTest(BitcoinTestFramework):
self.nodes[1].generate(101)
self.test_spenders(self.nodes[1], spenders_taproot_active(), input_counts=[1, 2, 2, 2, 2, 3])
# Re-connect nodes in case they have been disconnected
self.disconnect_nodes(0, 1)
self.connect_nodes(0, 1)
# Transfer value of the largest 500 coins to pre-taproot node.
addr = self.nodes[0].getnewaddress()