diff options
author | MarcoFalke <falke.marco@gmail.com> | 2020-11-30 20:58:25 +0100 |
---|---|---|
committer | MarcoFalke <falke.marco@gmail.com> | 2020-11-30 20:45:09 +0100 |
commit | fa275e1539941b49fe206ff0bf110e3362bec6bb (patch) | |
tree | c6f3da2eaed95c8c9460a1af2d70e10d0b10a82b /test/functional/feature_taproot.py | |
parent | 81d5af42f4dba5b68a597536cad7f61894dc22a3 (diff) |
test: Fix intermittent feature_taproot issue
Diffstat (limited to 'test/functional/feature_taproot.py')
-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 0f0fe8a34a..34ee56c639 100755 --- a/test/functional/feature_taproot.py +++ b/test/functional/feature_taproot.py @@ -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() |