Skip to content
Bitcoin Roots

v29.4-roots.2 · Commit 4: [PATCH 04/21] wallet: harden database and signing behavior

test/functional/wallet_multiwallet.py

Before: test/functional/wallet_multiwallet.py · After: test/functional/wallet_multiwallet.py

File metadata
index e241edd3fa648433aade882c0b240f0781c58570..5fe062f5067a4b5918c1a0bcd585f5bb41e38822 100755

Download original patch · Release notes

Diff rows 1–8 of 8. Line numbers refer to the original before/after files.

+ Added− RemovedUnmarked lines are context.

Scroll the code area horizontally to read long lines. Before is on the left; after is on the right. Unified view fits narrow screens more easily.

test/functional/wallet_multiwallet.py CHANGED
@@ -132,7 +132,7 @@ class MultiWalletTest(BitcoinTestFramework):
132
  os.mkdir(wallet_dir('no_access'))
133
  os.chmod(wallet_dir('no_access'), 0)
134
  try:
135
- with self.nodes[0].assert_debug_log(expected_msgs=['Error scanning']):
136
  walletlist = self.nodes[0].listwalletdir()['wallets']
137
  finally:
138
  # Need to ensure access is restored for cleanup
 
132
  os.mkdir(wallet_dir('no_access'))
133
  os.chmod(wallet_dir('no_access'), 0)
134
  try:
135
+ with self.nodes[0].assert_debug_log(expected_msgs=["Error while scanning wallet dir"]):
136
  walletlist = self.nodes[0].listwalletdir()['wallets']
137
  finally:
138
  # Need to ensure access is restored for cleanup