**Expected behavior**
It is expected that Bitcoin Core is not shutdown automatically during startup. Moreover, it should be possible to set transaction fee at 0.

**Actual behavior**
![Bitcoin Core Error mintxfee](https://user-images.githubusercontent.com/111286121/210274894-e91adf7f-43f7-4c3f-b799-222c00dc34a0.png)

**To reproduce**

1) Click bitcoin-qt.exe.

**System information**

1) A wallet that contained unspent funds was opened previously.
2) The bitcoin.conf file contains "mintxfee=0".
3) Bitcoin Core 24.0.1 official binary for Windows (portable).
"Th might had been created on a newer version.\n"
                                "Please try running the latest software version.\n"), File);
            return nullptr;
        } else if (nLoadWalletRet == DBErrorsUNEXPECTED_LEGACY_ENTRY) {
            error = strprintf(_("Unexpected legacy entry in   found. Loading  %s\n\n"
                                "Th might have been tampered with or created with malicious intent.\n"), File);
            return nullptr;
        } else {
            error = strprintf(_("Error loading %s"), File);
            return nullptr;
        }
    }
    // This  is in its first run if there are no ScriptPubKeyMans and it isn't blank or no privkeys
    const bool fFirstRun = Instance->m_spk_managers.empty() &&
                     !Instance->IsWalletFlagSet(WALLET_FLAG_DISABLE_PRIVATE_KEYS) &&
                     !Instance->IsWalletFlagSet(WALLET_FLAG_BLANK_WALLET);
    if (fFirstRun)
    {
        // ensure this .dat can only be opened by clients supporting HD with chain split and expects no default key
        Instance->SetMinVersion(FEATURE_LATEST);
        Instance->InitWalletFlags(_creation_flags);
        // Only create LegacyScriptPubKeyMan when not  
        if (!Instance->IsWalletFlagSet(WALLET_FLAG_DESCRIPTORS)) {
            Instance->SetupLegacyScriptPubKeyMan();
        }
        if ((_creation_flags & WALLET_FLAG_EXTERNAL_SIGNER) || !(_creation_flags & (WALLET_FLAG_DISABLE_PRIVATE_KEYS | WALLET_FLAG_BLANK_WALLET))) {
            LOCK(Instance->cs_);
            if (Instance->IsWalletFlagSet(WALLET_FLAG_DESCRIPTORS)) {
                Instance->SetupDescriptorScriptPubKeyMans();
                // SetupDe