wallet, rpc: Give warning in listwalletdir for legacy wallets

This commit is contained in:
Ava Chow committed 2025-05-26 15:14:41 -07:00
1 parent 638a4c0bd8
commit 09955172f3
3 files changed
+17 -3

No files matched your search

+1 -1
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()