The help tells me I should unlock my encrypted wallet:

```
> help migratewallet

...
Requires wallet passphrase to be set with walletpassphrase call if wallet is encrypted.
```

But when I do so and attempt to migrate the wallet I'm told that I've entered my password for needlessly:

```
> migratewallet

Error: migratewallet on encrypted wallets is currently unsupported.
```

<!-- What version of Bitcoin Core are you using, where did you get it (website, self-compiled, etc)? -->

v24.0.1

chain.findFirstBlockWithTimeAndHeight(*time_first_key - TIMESTAMP_WINDOW, rescan_height, found);
            if (!found.found) {
                // We were 
                // or a he
                // current 
                rescan_height = *tip_height;
            }
        }
        // Technically we could execute the code below in any case, but performing the
        // `while` loop below can make startup very slow, so only check blocks on disk
        // if necessary.
        if (chain.havePruned() || chain.hasAssumedValidChain()) {
            int block_height = *tip_height;
            while (block_height > 0 && chain.haveBlockOnDisk(block_height - 1) && rescan_height != block_height) {
                --block_height;
            }
            if (rescan_height != block_height) {
                // We can'
                // This mi
                // or if t
                // Exit ea
                // It also 
                // all blo
                //  a bl
                // but fai
                error = chain.havePruned() ?
                     _("Prune last  synchronisation goes beyond pruned data. You need to -reindex (download the whole blockchain again in case of pruned node)") 
                     strprintf(_(
                        "Error loading . Wallet requires blocks to be downloaded, "
                        "and software does not currently support loading s while "