Skip to content

Commit 5555d8d

Browse files
author
MarcoFalke
committed
test: Use blocks_path where possible
1 parent fa91089 commit 5555d8d

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

test/functional/test_framework/test_framework.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1021,5 +1021,4 @@ def is_bdb_compiled(self):
10211021
return self.config["components"].getboolean("USE_BDB")
10221022

10231023
def has_blockfile(self, node, filenum: str):
1024-
blocksdir = node.datadir_path / self.chain / 'blocks'
1025-
return (blocksdir / f"blk{filenum}.dat").is_file()
1024+
return (node.blocks_path/ f"blk{filenum}.dat").is_file()

0 commit comments

Comments
 (0)