File tree Expand file tree Collapse file tree 1 file changed +1
-2
lines changed Expand file tree Collapse file tree 1 file changed +1
-2
lines changed Original file line number Diff line number Diff line change 3
3
# Distributed under the MIT software license, see the accompanying
4
4
# file COPYING or http://www.opensource.org/licenses/mit-license.php.
5
5
"""Test support for XORed block data and undo files (`-blocksxor` option)."""
6
- import os
7
6
8
7
from test_framework .test_framework import BitcoinTestFramework
9
8
from test_framework .test_node import ErrorMatch
@@ -54,7 +53,7 @@ def run_test(self):
54
53
match = ErrorMatch .PARTIAL_REGEX )
55
54
56
55
self .log .info ("Delete XOR key, restart node with '-blocksxor=0', check blk*.dat/rev*.dat file integrity" )
57
- os . remove ( node .blocks_key_path )
56
+ node .blocks_key_path . unlink ( )
58
57
self .start_node (0 , extra_args = ['-blocksxor=0' ])
59
58
# checklevel=2 -> verify block validity + undo data
60
59
# nblocks=0 -> verify all blocks
You can’t perform that action at this time.
0 commit comments