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

LogPrintf(("%s " + fmt).c_str(), GetDisplayName(), parameters...);
    };
    
    bool UpgradeWallet(int version, bilingual_str& error);
    
    std::set<ScriptPubKeyMan*> GetActiveScriptPubKeyMans() const;
    
    std::set<ScriptPubKeyMan*> GetAllScriptPubKeyMans() const;
    
    ScriptPubKeyMan* GetScriptPubKeyMan(const OutputType& type, bool internal) const;
    
    std::set<ScriptPubKeyMan*> GetScriptPubKeyMans(const CScript& script) const;
    
    ScriptPubKeyMan* GetScriptPubKeyMan(const uint256& id) const;
    
    std::unique_ptr<SigningProvider> GetSolvingProvider(const CScript& script) const;
    std::unique_ptr<SigningProvider> GetSolvingProvider(const CScript& script, SignatureData& sigdata) const;
    
    std::vector<WalletDescriptor> GetWalletDescriptors(const CScript& script) const;
    
    LegacyScriptPubKeyMan* GetLegacyScriptPubKeyMan() const;
    LegacyScriptPubKeyMan* GetOrCreateLegacyScriptPubKeyMan();
    
    void SetupLegacyScriptPubKeyMan();
    const CKeyingMaterial& GetEncryptionKey() const override;
    bool HasEncryptionKeys() const override;
    
    int GetLastBlockHeight() const EXCLUSIVE_LOCKS_REQUIRED(cs_wallet)