diff options
author | MarcoFalke <falke.marco@gmail.com> | 2020-11-30 20:58:25 +0100 |
---|---|---|
committer | fanquake <fanquake@gmail.com> | 2021-07-29 20:25:28 +0800 |
commit | 55e941f5df18ce6d9b1ee8759f1419c5d1f03a8f (patch) | |
tree | 7a70fa9e6084be9b1f3ce9f35e4b76e2915a0c20 /test/functional | |
parent | 681f728a35b800d6f1cc359171b6b40de9ddb9a4 (diff) | |
download | bitcoin-55e941f5df18ce6d9b1ee8759f1419c5d1f03a8f.tar.xz |
test: Fix intermittent feature_taproot issue
Github-Pull: #20535
Rebased-From: fa275e1539941b49fe206ff0bf110e3362bec6bb
Diffstat (limited to 'test/functional')
-rwxr-xr-x | test/functional/feature_taproot.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/test/functional/feature_taproot.py b/test/functional/feature_taproot.py index 2b9b614878..987022b7c7 100755 --- a/test/functional/feature_taproot.py +++ b/test/functional/feature_taproot.py @@ -1441,6 +1441,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() |