From 5f9c0b6360215636cfa62a70d3a70f1feb3977ab Mon Sep 17 00:00:00 2001 From: MarcoFalke Date: Tue, 21 Apr 2020 18:55:20 -0400 Subject: wallet: Remove -upgradewallet from dummywallet --- test/functional/wallet_multiwallet.py | 3 +++ 1 file changed, 3 insertions(+) (limited to 'test') diff --git a/test/functional/wallet_multiwallet.py b/test/functional/wallet_multiwallet.py index 61791a756c..ab3edbd04c 100755 --- a/test/functional/wallet_multiwallet.py +++ b/test/functional/wallet_multiwallet.py @@ -139,6 +139,9 @@ class MultiWalletTest(BitcoinTestFramework): open(not_a_dir, 'a', encoding="utf8").close() self.nodes[0].assert_start_raises_init_error(['-walletdir=' + not_a_dir], 'Error: Specified -walletdir "' + not_a_dir + '" is not a directory') + self.log.info("Do not allow -upgradewallet with multiwallet") + self.nodes[0].assert_start_raises_init_error(['-upgradewallet'], "Error: Error parsing command line arguments: Invalid parameter -upgradewallet") + # if wallets/ doesn't exist, datadir should be the default wallet dir wallet_dir2 = data_dir('walletdir') os.rename(wallet_dir(), wallet_dir2) -- cgit v1.2.3