diff options
author | MarcoFalke <*~=`'#}+{/-|&$^_@721217.xyz> | 2023-07-12 15:03:38 +0200 |
---|---|---|
committer | MarcoFalke <*~=`'#}+{/-|&$^_@721217.xyz> | 2023-07-25 15:51:36 +0200 |
commit | fafe43cb6c76a5f60194be128a40baf161d39920 (patch) | |
tree | c937fa5944c0a374f0a4828a24709f42f2f3de2d /test/functional/feature_unsupported_utxo_db.py | |
parent | fa060c15fb5081e66ed1ebe05dca6e8026f32c4f (diff) | |
download | bitcoin-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-x | test/functional/feature_unsupported_utxo_db.py | 4 |
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( |