aboutsummaryrefslogtreecommitdiff
path: root/test/functional/feature_loadblock.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_loadblock.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_loadblock.py')
-rwxr-xr-xtest/functional/feature_loadblock.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/functional/feature_loadblock.py b/test/functional/feature_loadblock.py
index c90ccc4936..12d65fde68 100755
--- a/test/functional/feature_loadblock.py
+++ b/test/functional/feature_loadblock.py
@@ -37,7 +37,7 @@ class LoadblockTest(BitcoinTestFramework):
cfg_file = os.path.join(data_dir, "linearize.cfg")
bootstrap_file = os.path.join(self.options.tmpdir, "bootstrap.dat")
genesis_block = self.nodes[0].getblockhash(0)
- blocks_dir = self.nodes[0].chain_path / "blocks"
+ blocks_dir = self.nodes[0].blocks_path
hash_list = tempfile.NamedTemporaryFile(dir=data_dir,
mode='w',
delete=False,