From 4dca76561b270fb5a34d783974c35b4ec84bde37 Mon Sep 17 00:00:00 2001 From: Konstantin Akimov Date: Wed, 30 Jul 2025 21:49:11 +0700 Subject: [PATCH] test: follow-up #6762 - removed related TODO from functional test --- test/functional/wallet_upgradetohd.py | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/test/functional/wallet_upgradetohd.py b/test/functional/wallet_upgradetohd.py index 7f85aacebe19..aa770716cff1 100755 --- a/test/functional/wallet_upgradetohd.py +++ b/test/functional/wallet_upgradetohd.py @@ -206,14 +206,8 @@ def run_test(self): if not self.options.descriptors: assert_raises_rpc_error(-1, "Error: The wallet passphrase entered was incorrect", node.upgradetohd, mnemonic, "", "wrongpass") else: - assert_raises_rpc_error(-1, "SetupDescriptorScriptPubKeyMans: Wallet is locked, cannot setup new descriptors", node.upgradetohd, mnemonic, "", "wrongpass") - if self.options.descriptors: - # TODO - implement auto-unlock descriptor wallet - node.walletpassphrase(walletpass, 100) + assert_raises_rpc_error(-4, "Error: The wallet passphrase entered was incorrect", node.upgradetohd, mnemonic, "", "wrongpass") assert node.upgradetohd(mnemonic, "", walletpass) - # TODO - drop it too! - if self.options.descriptors: - node.walletlock() if not self.options.descriptors: assert_raises_rpc_error(-13, "Error: Please enter the wallet passphrase with walletpassphrase first.", node.dumphdinfo) else: