aboutsummaryrefslogtreecommitdiff
path: root/test/functional/feature_unsupported_utxo_db.py
diff options
context:
space:
mode:
authorMarcoFalke <*~=`'#}+{/-|&$^_@721217.xyz>2023-07-12 15:03:38 +0200
committerMarcoFalke <*~=`'#}+{/-|&$^_@721217.xyz>2023-07-25 15:51:36 +0200
commitfafe43cb6c76a5f60194be128a40baf161d39920 (patch)
treec937fa5944c0a374f0a4828a24709f42f2f3de2d /test/functional/feature_unsupported_utxo_db.py
parentfa060c15fb5081e66ed1ebe05dca6e8026f32c4f (diff)
downloadbitcoin-fafe43cb6c76a5f60194be128a40baf161d39920.tar.xz
scripted-diff: Use blocks_path where possible
-BEGIN VERIFY SCRIPT- sed -i 's|].chain_path / "blocks"|].blocks_path|g' $(git grep -l chain_path) -END VERIFY SCRIPT-
Diffstat (limited to 'test/functional/feature_unsupported_utxo_db.py')
-rwxr-xr-xtest/functional/feature_unsupported_utxo_db.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/functional/feature_unsupported_utxo_db.py b/test/functional/feature_unsupported_utxo_db.py
index 1c8c08d1d8..6acf551216 100755
--- a/test/functional/feature_unsupported_utxo_db.py
+++ b/test/functional/feature_unsupported_utxo_db.py
@@ -40,9 +40,9 @@ class UnsupportedUtxoDbTest(BitcoinTestFramework):
self.log.info("Check init error")
legacy_utxos_dir = self.nodes[0].chain_path / "chainstate"
- legacy_blocks_dir = self.nodes[0].chain_path / "blocks"
+ legacy_blocks_dir = self.nodes[0].blocks_path
recent_utxos_dir = self.nodes[1].chain_path / "chainstate"
- recent_blocks_dir = self.nodes[1].chain_path / "blocks"
+ recent_blocks_dir = self.nodes[1].blocks_path
shutil.copytree(legacy_utxos_dir, recent_utxos_dir)
shutil.copytree(legacy_blocks_dir, recent_blocks_dir)
self.nodes[1].assert_start_raises_init_error(