wallet, rpc: Give warning in listwalletdir for legacy wallets

This commit is contained in:
Ava Chow
2025-05-26 13:14:05 -07:00
parent 638a4c0bd8
commit 09955172f3
3 changed files with 17 additions and 3 deletions

View File

@@ -72,7 +72,7 @@ class MultiWalletTest(BitcoinTestFramework):
return wallet_dir(name, "wallet.dat")
return wallet_dir(name)
assert_equal(self.nodes[0].listwalletdir(), {'wallets': [{'name': self.default_wallet_name}]})
assert_equal(self.nodes[0].listwalletdir(), {'wallets': [{'name': self.default_wallet_name, "warnings": []}]})
# check wallet.dat is created
self.stop_nodes()