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-
This commit is contained in:
MarcoFalke
2023-07-12 15:03:38 +02:00
parent fa060c15fb
commit fafe43cb6c
7 changed files with 12 additions and 12 deletions

View File

@@ -25,7 +25,7 @@ class AbortNodeTest(BitcoinTestFramework):
self.generate(self.nodes[0], 3, sync_fun=self.no_op)
# Deleting the undo file will result in reorg failure
(self.nodes[0].chain_path / "blocks" / "rev00000.dat").unlink()
(self.nodes[0].blocks_path / "rev00000.dat").unlink()
# Connecting to a node with a more work chain will trigger a reorg
# attempt.