aboutsummaryrefslogtreecommitdiff
path: root/test/functional/feature_reindex.py
diff options
context:
space:
mode:
authortdb3 <106488469+tdb3@users.noreply.github.com>2024-08-20 20:03:25 -0400
committertdb3 <106488469+tdb3@users.noreply.github.com>2024-08-25 08:42:38 -0400
commitd8399584dd59b3954a0bea393b2de350a732055e (patch)
tree2e629ecdbaa0817fd098c1d77bf712edfc5a71c3 /test/functional/feature_reindex.py
parentd43948c3ef610c383176bf9b389697973bd0ad64 (diff)
refactor: move read_xor_key() to TestNode
Diffstat (limited to 'test/functional/feature_reindex.py')
-rwxr-xr-xtest/functional/feature_reindex.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/test/functional/feature_reindex.py b/test/functional/feature_reindex.py
index 2961a2d356..1ebfe82da5 100755
--- a/test/functional/feature_reindex.py
+++ b/test/functional/feature_reindex.py
@@ -14,7 +14,6 @@ from test_framework.test_framework import BitcoinTestFramework
from test_framework.messages import MAGIC_BYTES
from test_framework.util import (
assert_equal,
- read_xor_key,
util_xor,
)
@@ -43,7 +42,7 @@ class ReindexTest(BitcoinTestFramework):
# we're generating them rather than getting them from peers), so to
# test out-of-order handling, swap blocks 1 and 2 on disk.
blk0 = self.nodes[0].blocks_path / "blk00000.dat"
- xor_dat = read_xor_key(node=self.nodes[0])
+ xor_dat = self.nodes[0].read_xor_key()
with open(blk0, 'r+b') as bf:
# Read at least the first few blocks (including genesis)