Is there an existing issue for this?
- I have searched the existing issues
Current behaviour
I have 3 old legacy wallets: w1, w2, and w3. I am attempting to migrate them to descriptor wallets using the migratewallet RPC in bitcoin v31.0
For some reason, all 3 wallets contain a transaction that only 'belongs' to w3. None of the input or output addresses are 'ismine' for w1 or w2.
When I attempt the migration, w3 works but w1 and w2 both fail like this:
$ bitcoin-cli migratewallet w1
error code: -4
error message:
Error: Transaction <txid> in wallet cannot be identified to belong to migrated wallets
I don't know why the old wallets contain a transaction that they don't own, but I would still like to be able to migrate the wallets.
I guess I can load the wallets into an old version of Core, use 'dumpwallet' to get all the private keys, and then import the corresponding descriptors into v31.0 - but that's not idea.
Steps to reproduce
I have no idea. The wallets are many years old now.
How did you obtain Bitcoin Core
Compiled from source
What version of Bitcoin Core are you using?
v31.0
Operating system and version
Debian 13