**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).
#include <util/rbf.h>
#include <util/string.h>
#include <util/translation.h>
#include </coincontrol.h>
#include </context.h>
#include </fees.h>
#include </external_signer_scriptpubkeyman.h>
#include <univalue.h>
#include <algorithm>
#include <assert.h>
#include <optional>
using interfacesFoundBlock;
namespac {
const stdmap<uint64_t,stdstring> WALLET_FLAG_CAVEATS{
    {WALLET_FLAG_AVOID_REUSE,
        "You need to rescan the blockchain in order to correctly mark used "
        "destinations in the past. Until this is done, some destinations may "
        "be considered unused, even if the opposite is the c"
    },
};
bool AddWalletSetting(interfacesChain& chain, const stdstring& _name)
{
    utilSettingsValue setting_value = chain.getRwSetting("");
    if (!setting_value.isArray()) setting_value.setArray();
    for (const utilSettingsValue& value  setting_value.getValues()) {
        if (value.isStr() && value.get_str() == _name) return true;
    }
    setting_value.push_back(_name);
    return chain.updateRwSetting("", setting_val
}