mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-06-29 02:11:24 +02:00
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:
@ -40,9 +40,9 @@ class UnsupportedUtxoDbTest(BitcoinTestFramework):
|
||||
|
||||
self.log.info("Check init error")
|
||||
legacy_utxos_dir = self.nodes[0].chain_path / "chainstate"
|
||||
legacy_blocks_dir = self.nodes[0].chain_path / "blocks"
|
||||
legacy_blocks_dir = self.nodes[0].blocks_path
|
||||
recent_utxos_dir = self.nodes[1].chain_path / "chainstate"
|
||||
recent_blocks_dir = self.nodes[1].chain_path / "blocks"
|
||||
recent_blocks_dir = self.nodes[1].blocks_path
|
||||
shutil.copytree(legacy_utxos_dir, recent_utxos_dir)
|
||||
shutil.copytree(legacy_blocks_dir, recent_blocks_dir)
|
||||
self.nodes[1].assert_start_raises_init_error(
|
||||
|
Reference in New Issue
Block a user