From 3d0556d41087f945ed0a47a5d770076ad42ce432 Mon Sep 17 00:00:00 2001 From: Pieter Wuille Date: Fri, 30 Oct 2020 15:51:51 -0700 Subject: [PATCH] Increase feature_taproot inactive test coverage --- test/functional/feature_taproot.py | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/test/functional/feature_taproot.py b/test/functional/feature_taproot.py index 1d2e346aa84..3e47e24a3bb 100755 --- a/test/functional/feature_taproot.py +++ b/test/functional/feature_taproot.py @@ -1451,7 +1451,11 @@ class TaprootTest(BitcoinTestFramework): # Pre-taproot activation tests. self.log.info("Pre-activation tests...") - self.test_spenders(self.nodes[0], spenders_taproot_inactive(), input_counts=[1, 2, 2, 2, 2, 3]) + # Run each test twice; once in isolation, and once combined with others. Testing in isolation + # means that the standardness is verified in every test (as combined transactions are only standard + # when all their inputs are standard). + self.test_spenders(self.nodes[0], spenders_taproot_inactive(), input_counts=[1]) + self.test_spenders(self.nodes[0], spenders_taproot_inactive(), input_counts=[2, 3]) if __name__ == '__main__':