log: Use warning level while scanning wallet dir

This commit is contained in:
MarcoFalke
2025-06-10 15:57:33 +02:00
committed by Hodlinator
parent 1777644367
commit 272cd09b79
2 changed files with 4 additions and 4 deletions

View File

@@ -147,7 +147,7 @@ class MultiWalletTest(BitcoinTestFramework):
os.mkdir(wallet_dir('no_access'))
os.chmod(wallet_dir('no_access'), 0)
try:
with self.nodes[0].assert_debug_log(expected_msgs=['Error scanning']):
with self.nodes[0].assert_debug_log(expected_msgs=["Error while scanning wallet dir"]):
walletlist = self.nodes[0].listwalletdir()['wallets']
finally:
# Need to ensure access is restored for cleanup