diff options
author | MacroFake <falke.marco@gmail.com> | 2022-04-28 07:41:19 +0200 |
---|---|---|
committer | MacroFake <falke.marco@gmail.com> | 2022-04-28 07:41:22 +0200 |
commit | 4381681e554d9bf10ef1ac43cede9cfa10bfb439 (patch) | |
tree | c9766f0328e2c69fb231ce8409ce51db0ec43828 /test | |
parent | f0a834e2f10a0aa60c7cc76e9f3eb090168a32e5 (diff) | |
parent | 786b3a7c44437aedb46a7e21ee54a18ba2802d9b (diff) |
Merge bitcoin/bitcoin#25011: tests: Do not always create a descriptor wallet in wallet_createwallet
786b3a7c44437aedb46a7e21ee54a18ba2802d9b tests: Do not always create a descriptor wallet in wallet_createwallet (Andrew Chow)
Pull request description:
The createwallet test for some invalid parameters incorrectly always creates a descriptor wallet. This is unnecessary and also breaks the test when bdb is not compiled in.
Fixes #25007
ACKs for top commit:
jacobpfickes:
ACK 786b3a7c44437aedb46a7e21ee54a18ba2802d9b
Tree-SHA512: 97b0953a08adf83d5ea84cac2651253d790b43d606a2f746dd45d3ccd1fb576bab63e3835e3de592715ef8a5cb133e6f19a3ab810fedf4684072143c3cb578d4
Diffstat (limited to 'test')
-rwxr-xr-x | test/functional/wallet_createwallet.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/functional/wallet_createwallet.py b/test/functional/wallet_createwallet.py index dcf2e98638..12480d4d1e 100755 --- a/test/functional/wallet_createwallet.py +++ b/test/functional/wallet_createwallet.py @@ -29,7 +29,7 @@ class CreateWalletTest(BitcoinTestFramework): self.log.info("Run createwallet with invalid parameters.") # Run createwallet with invalid parameters. This must not prevent a new wallet with the same name from being created with the correct parameters. assert_raises_rpc_error(-4, "Passphrase provided but private keys are disabled. A passphrase is only used to encrypt private keys, so cannot be used for wallets with private keys disabled.", - self.nodes[0].createwallet, wallet_name='w0', descriptors=True, disable_private_keys=True, passphrase="passphrase") + self.nodes[0].createwallet, wallet_name='w0', disable_private_keys=True, passphrase="passphrase") self.nodes[0].createwallet(wallet_name='w0') w0 = node.get_wallet_rpc('w0') |