Skip to content

Commit c1ffcf3

Browse files
knstpasta
authored andcommitted
test: follow-up dashpay#6762 - removed related TODO from functional test
1 parent f753fd4 commit c1ffcf3

File tree

1 file changed

+1
-7
lines changed

1 file changed

+1
-7
lines changed

test/functional/wallet_upgradetohd.py

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -206,14 +206,8 @@ def run_test(self):
206206
if not self.options.descriptors:
207207
assert_raises_rpc_error(-1, "Error: The wallet passphrase entered was incorrect", node.upgradetohd, mnemonic, "", "wrongpass")
208208
else:
209-
assert_raises_rpc_error(-1, "SetupDescriptorScriptPubKeyMans: Wallet is locked, cannot setup new descriptors", node.upgradetohd, mnemonic, "", "wrongpass")
210-
if self.options.descriptors:
211-
# TODO - implement auto-unlock descriptor wallet
212-
node.walletpassphrase(walletpass, 100)
209+
assert_raises_rpc_error(-4, "Error: The wallet passphrase entered was incorrect", node.upgradetohd, mnemonic, "", "wrongpass")
213210
assert node.upgradetohd(mnemonic, "", walletpass)
214-
# TODO - drop it too!
215-
if self.options.descriptors:
216-
node.walletlock()
217211
if not self.options.descriptors:
218212
assert_raises_rpc_error(-13, "Error: Please enter the wallet passphrase with walletpassphrase first.", node.dumphdinfo)
219213
else:

0 commit comments

Comments
 (0)