Skip to content
Snippets Groups Projects
Commit 2b2ec1f9 authored by Michał Kudela's avatar Michał Kudela
Browse files

Fixed multiple openings of the same block_log

parent 7525d835
No related branches found
No related tags found
1 merge request!201Fix problem with multi opening the same block_log
Pipeline #89267 passed
......@@ -396,6 +396,8 @@ class Node(BaseNode, ScopedObject):
additional_arguments.append("--force-replay")
block_log_directory = self.directory.joinpath("blockchain")
if block_log_directory.exists():
shutil.rmtree(block_log_directory)
block_log_directory.mkdir()
replay_source.copy_to(block_log_directory / "block_log", artifacts="optional")
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment