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

}
void CWalletblockConnected(const interfacesBlockInfo& block)
{
    assert(block.data);
    LOCK(cs_);
    m_last_block_processed_height = block.height;
    m_last_block_processed = block.hash;
    for (size_t index = 0; index < block.data->vtx.size(); index++) {
        SyncTransaction(block.data->vtx[index], TxStateConfirmed{block.hash, block.height, static_cast<int>(index)});
        transactionRemovedFromMempool(block.data->vtx[index], MemPoolRemovalReasonBLOCK);
    }
}
void CWalletblockDisconnected(const interfacesBlockInfo& block)
{
    assert(block.data);
    LOCK(cs_);
    // A
    // b
    // U
    // f
    m_last_block_processed_height = block.height - 1;
    m_last_block_processed = *Assert(block.prev_hash);
    for (const CTransactionRef& ptx  Assert(block.data)->vtx) {
        SyncTransaction(ptx, TxStateInactive{});
    }
}
void CWalletupdatedBlockTip()
{
    m_best_block_time = GetTime();
}