aboutsummaryrefslogtreecommitdiff
path: root/test/functional/feature_taproot.py
diff options
context:
space:
mode:
authorMacroFake <falke.marco@gmail.com>2022-11-09 12:53:13 +0100
committerMacroFake <falke.marco@gmail.com>2022-11-10 17:19:13 +0100
commit555519d082fbe5e047595f06d7f301e441bb7149 (patch)
treea2be0d70084a8532d69376ab7071ff52e309ef5f /test/functional/feature_taproot.py
parentfac8d59d310fa94a8d5dd99659a76cd958d1fd1b (diff)
downloadbitcoin-555519d082fbe5e047595f06d7f301e441bb7149.tar.xz
test: Remove wallet option from non-wallet tests
Review note: The changes are complete, because self.options.descriptors is set to None in parse_args (test_framework.py). A value of None implies -disablewallet, see the previous commit. So if a call to add_wallet_options is missing, it will lead to a test failure when the wallet is compiled in.
Diffstat (limited to 'test/functional/feature_taproot.py')
-rwxr-xr-xtest/functional/feature_taproot.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/test/functional/feature_taproot.py b/test/functional/feature_taproot.py
index cbb2e0338b..fbf1d158ae 100755
--- a/test/functional/feature_taproot.py
+++ b/test/functional/feature_taproot.py
@@ -1229,6 +1229,7 @@ UTXOData = namedtuple('UTXOData', 'outpoint,output,spender')
class TaprootTest(BitcoinTestFramework):
def add_options(self, parser):
+ self.add_wallet_options(parser)
parser.add_argument("--dumptests", dest="dump_tests", default=False, action="store_true",
help="Dump generated test cases to directory set by TEST_DUMP_DIR environment variable")