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

{
        AssertLockHeld(cs_wallet);
        assert(m_last_block_processed_height >= 0);
        return m_last_block_processed;
    }
    
    void SetLastBlockProcessed(int block_height, uint256 block_hash) EXCLUSIVE_LOCKS_REQUIRED(cs_wallet)
    {
        AssertLockHeld(cs_wallet);
        m_last_block_processed_height = block_height;
        m_last_block_processed = block_hash;
    };
    
    void ConnectScriptPubKeyManNotifiers();
    
    void LoadDescriptorScriptPubKeyMan(uint256 id, WalletDescriptor& desc);
    
    
    
    
    void AddActiveScriptPubKeyMan(uint256 id, OutputType type, bool internal);
    
    
    
    
    void LoadActiveScriptPubKeyMan(uint256 id, OutputType type, bool internal);