**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).
bool RemoveWalletSetting(interfacesChain& chain, const stdstring& _name)
{
    utilSettingsValue setting_value = chain.getRwSetting("");
    if (!setting_value.isArray()) return true;
    utilSettingsValue new_value(utilSettingsValueVARR);
    for (const utilSettingsValue& value  setting_value.getValues()) {
        if (!value.isStr() || value.get_str() != _name) new_value.push_back(val
    }
    if (new_value.size() == setting_value.size()) return true;
    return chain.updateRwSetting("", new_val
}
static void UpdateWalletSetting(interfacesChain& chain,
                                const stdstring& _name,
                                stdoptional<bool> load_on_startup,
                                stdvector<bilingual_str>& warnings)
{
    if (!load_on_startup) return;
    if (load_on_startup.value() && !AddWalletSetting(chain, _name)) {
        warnings.emplace_back(Untranslated("Wallet load on startup setting could not be updated, so  may not be loaded next node startup."));
    } else if (!load_on_startup.value() && !RemoveWalletSetting(chain, _name)) {
        warnings.emplace_back(Untranslated("Wallet load on startup setting could not be updated, so  may still be loaded next node startup."));
    }
}
/**
 * Refresh mempool status so th is in an internally consistent state and
 * immediately knows the transaction's status Whether it can be considered
 * trusted and is eligible to be abandoned ...
 */
static void RefreshMempoolStatus(CWalletTx& tx, interfacesChain& chain)
{