aboutsummaryrefslogtreecommitdiff
path: root/test/functional/feature_abortnode.py
diff options
context:
space:
mode:
Diffstat (limited to 'test/functional/feature_abortnode.py')
-rwxr-xr-xtest/functional/feature_abortnode.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/functional/feature_abortnode.py b/test/functional/feature_abortnode.py
index 62c3eca07d..874243ec5d 100755
--- a/test/functional/feature_abortnode.py
+++ b/test/functional/feature_abortnode.py
@@ -29,7 +29,7 @@ class AbortNodeTest(BitcoinTestFramework):
datadir = get_datadir_path(self.options.tmpdir, 0)
# Deleting the undo file will result in reorg failure
- os.unlink(os.path.join(datadir, 'regtest', 'blocks', 'rev00000.dat'))
+ os.unlink(os.path.join(datadir, self.chain, 'blocks', 'rev00000.dat'))
# Connecting to a node with a more work chain will trigger a reorg
# attempt.