Is there an existing issue for this?
- I have searched the existing issues
Current behaviour
the latest version of bitcoin does not load my legacy descriptor wallet, and migration doesn’t work
when I try to migrate:
0./build/bin/bitcoin-cli migratewallet personal
I get:
0error code: -4
1error message:
2Error: This wallet is already a descriptor wallet
so effectively I can’t use my wallet in the latest version of bitcoin.
cc @achow101
Expected behaviour
I expect migratewallet to migrate my legacy descriptor wallet to sqlite so I can use it
Steps to reproduce
Create a legacy descriptor wallet, and try to migrate it to sqlite
Relevant log output
0error code: -4
1error message:
2Error: This wallet is already a descriptor wallet
When I try to load wallet:
0./build/bin/bitcoin-cli -datadir=/Volumes/chunkstr/bitcoin loadwallet personal
1error code: -18
2error message:
3Wallet file verification failed. Failed to open database path '/Volumes/chunkstr/bitcoin/personal'. The wallet appears to be a Legacy wallet, please use the wallet migration tool (migratewallet RPC or the GUI option).
How did you obtain Bitcoin Core
Compiled from source
What version of Bitcoin Core are you using?
master@89144eb473c6bdb64f21de66912e915225ea6510
Operating system and version
MacOS 26.0
Machine specifications
M2 Max, external exFAT m.2 2TB drive in usb-c enclosure