aboutsummaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorAndrew Chow <achow101-github@achow101.com>2022-04-27 14:50:04 -0400
committerAndrew Chow <achow101-github@achow101.com>2022-04-27 14:50:04 -0400
commit786b3a7c44437aedb46a7e21ee54a18ba2802d9b (patch)
tree1e3bcead7eccc52b467d8e4cf28e0fb9db64ef10 /test
parent132d5f8c2f2397a4600a42203f413dafdb6bcc37 (diff)
downloadbitcoin-786b3a7c44437aedb46a7e21ee54a18ba2802d9b.tar.xz
tests: Do not always create a descriptor wallet in wallet_createwallet
The createwallet teswt for some invalid parameters incorrectly always creates a descriptor wallet. This is unnecessary and also breaks the test when bdb is not compiled in.
Diffstat (limited to 'test')
-rwxr-xr-xtest/functional/wallet_createwallet.py2
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')