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_loadblock.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_loadblock.py')
-rwxr-xr-x | test/functional/feature_loadblock.py | 2 |
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, |