aboutsummaryrefslogtreecommitdiff
path: root/test/functional/wallet_pruning.py
diff options
context:
space:
mode:
authorMarcoFalke <*~=`'#}+{/-|&$^_@721217.xyz>2023-07-12 15:40:09 +0200
committerMarcoFalke <*~=`'#}+{/-|&$^_@721217.xyz>2023-08-01 15:26:55 +0200
commitfa69148a0a26c5054dbccdceeac8e117bf449275 (patch)
tree7c43fdf64b0192c932cd14538d5e61b1e73db752 /test/functional/wallet_pruning.py
parente5a9f2fb62dc4db6cad21b2997d96a881ea64125 (diff)
downloadbitcoin-fa69148a0a26c5054dbccdceeac8e117bf449275.tar.xz
scripted-diff: Use blocks_path where possible
-BEGIN VERIFY SCRIPT- sed -i 's|].chain_path, .blocks.|].blocks_path|g' $(git grep -l chain_path) -END VERIFY SCRIPT-
Diffstat (limited to 'test/functional/wallet_pruning.py')
-rwxr-xr-xtest/functional/wallet_pruning.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/functional/wallet_pruning.py b/test/functional/wallet_pruning.py
index 9e6061287c..06bd992da7 100755
--- a/test/functional/wallet_pruning.py
+++ b/test/functional/wallet_pruning.py
@@ -106,7 +106,7 @@ class WalletPruningTest(BitcoinTestFramework):
def has_block(self, block_index):
"""Checks if the pruned node has the specific blk0000*.dat file"""
- return os.path.isfile(os.path.join(self.nodes[1].chain_path, "blocks", f"blk{block_index:05}.dat"))
+ return os.path.isfile(os.path.join(self.nodes[1].blocks_path, f"blk{block_index:05}.dat"))
def create_wallet(self, wallet_name, *, unload=False):
"""Creates and dumps a wallet on the non-pruned node0 to be later import by the pruned node"""