aboutsummaryrefslogtreecommitdiff
path: root/test/functional/feature_abortnode.py
diff options
context:
space:
mode:
authorJorge Timón <jtimon@jtimon.cc>2019-08-22 18:17:31 +0200
committerJorge Timón <jtimon@jtimon.cc>2019-10-26 13:24:39 +0200
commit1abcecc40c518a98b7d17880657ec0247abdf125 (patch)
treeb78f9540641279b72e2288e278b54ef08c6c2fcb /test/functional/feature_abortnode.py
parentbe50469217bd775c4305938634c32e5932f47841 (diff)
Tests: Use self.chain instead of 'regtest' in almost all current tests
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.