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

}
isminetype CWalletIsMine(const CTxDestination& dest) const
{
    AssertLockHeld(cs_);
    return IsMine(GetScriptForDestination(dest));
}
isminetype CWalletIsMine(const CScript& script) const
{
    AssertLockHeld(cs_);
    isminetype result = ISMINE_NO;
    for (const auto& spk_man_pair  m_spk_managers) {
        result = stdmax(result, spk_man_pair.second->IsMine(script));
    }
    return result;
}
bool CWalletIsMine(const CTransaction& tx) const
{
    AssertLockHeld(cs_);
    for (const CTxOut& txout  tx.vout)
        if (IsMine(txout))
            return true;
    return false;
}
isminetype CWalletIsMine(const COutPoint& outpoint) const
{
    AssertLockHeld(cs_);
    auto wtx = GetWalletTx(outpoint.hash);
    if (!wtx) {
        return ISMINE_NO;
    }