Skip to content

wallet: migration, don't create spendable wallet from a watch-only legacy wallet

Currently, the migration process creates a brand-new descriptor wallet with no connection to the user's legacy wallet when the legacy wallet lacks key material and contains only watch-only scripts. This behavior is not aligned with user expectations. If the legacy wallet contains only watch-only scripts, the migration process should only generate a watch-only wallet instead.

TODO List:

  • Explain that migratewallet renames the watch-only after migration, and also that the wallet will not have keys enabled.

Merge request reports

Loading