This is to track the regression introduced in master, which needs fixing for 0.14. See #9240, #9371, etc.
{
    CWalletDB walletdb(strWalletFile);
    walletdb.WriteBestBlock(loc);
}
bool CWallet::SetMinVersion(enum WalletFeature nVersion, CWalletDB* pwalletdbIn, bool fExplicit)