mirror of
https://github.com/Retropex/bitcoin.git
synced 2025-05-30 22:12:34 +02:00
Disable upgrades tests that require BDB if BDB is not compiled
This commit is contained in:
parent
1f20cac9d4
commit
c77975abc0
@ -354,6 +354,8 @@ class BackwardsCompatibilityTest(BitcoinTestFramework):
|
|||||||
hdkeypath = v17_info["hdkeypath"]
|
hdkeypath = v17_info["hdkeypath"]
|
||||||
pubkey = v17_info["pubkey"]
|
pubkey = v17_info["pubkey"]
|
||||||
|
|
||||||
|
if self.is_bdb_compiled():
|
||||||
|
# Old wallets are BDB and will only work if BDB is compiled
|
||||||
# Copy the 0.16 wallet to the last Bitcoin Core version and open it:
|
# Copy the 0.16 wallet to the last Bitcoin Core version and open it:
|
||||||
shutil.copyfile(
|
shutil.copyfile(
|
||||||
os.path.join(node_v16_wallets_dir, "wallets/u1_v16"),
|
os.path.join(node_v16_wallets_dir, "wallets/u1_v16"),
|
||||||
|
Loading…
Reference in New Issue
Block a user