mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-09-06 18:11:30 +02:00
Merge bitcoin/bitcoin#32944: wallet: Remove upgradewallet
RPC
d89c6fa4a7
wallet: Remove `upgradewallet` RPC (w0xlt) Pull request description: Based on discussions in https://github.com/bitcoin/bitcoin/pull/32803, this PR proposes removing the ` upgradewallet` RPC. ACKs for top commit: maflcko: review ACKd89c6fa4a7
🤙 achow101: ACKd89c6fa4a7
pablomartin4btc: ACKd89c6fa4a7
brunoerg: Concept & light cr ACKd89c6fa4a7
Tree-SHA512: 9ab89c9137ff83d7826da6b9d00d3617149a5d144129086a2685ee525087534c5ed06259075c0689ded52d33e075acb5067d185be04ecc638e27469f958f9a56
This commit is contained in:
@@ -183,9 +183,6 @@ 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)
|
||||
|
Reference in New Issue
Block a user