aboutsummaryrefslogtreecommitdiff
path: root/test/functional/feature_anchors.py
diff options
context:
space:
mode:
Diffstat (limited to 'test/functional/feature_anchors.py')
-rwxr-xr-xtest/functional/feature_anchors.py4
1 files changed, 1 insertions, 3 deletions
diff --git a/test/functional/feature_anchors.py b/test/functional/feature_anchors.py
index 468ad1eafa..0961f21a40 100755
--- a/test/functional/feature_anchors.py
+++ b/test/functional/feature_anchors.py
@@ -20,9 +20,7 @@ class AnchorsTest(BitcoinTestFramework):
self.disable_autoconnect = False
def run_test(self):
- node_anchors_path = os.path.join(
- self.nodes[0].datadir, "regtest", "anchors.dat"
- )
+ node_anchors_path = self.nodes[0].chain_path / "anchors.dat"
self.log.info("When node starts, check if anchors.dat doesn't exist")
assert not os.path.exists(node_anchors_path)