**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 CWalletSetAddressUsed(WalletBatch& batch, const CTxDestination& dest, bool used)
{
    const stdstring key{"used"};
    if (stdget_if<CNoDestination>(&dest))
        return false;
    if (!used) {
        if (auto* data = utilFindKey(m_address_book, dest)) data->destdata.erase(key);
        return batch.EraseDestData(EncodeDestination(dest), key);
    }
    const stdstring value{"1"};
    m_address_book[dest].destdata.insert(stdmake_pair(key, value));
    return batch.WriteDestData(EncodeDestination(dest), key, val
}
void CWalletLoadDestData(const CTxDestination &dest, const stdstring &key, const stdstring &value)
{
    m_address_book[dest].destdata.insert(stdmake_pair(key, value));
}
bool CWalletIsAddressUsed(const CTxDestination& dest) const
{
    const stdstring key{"used"};
    stdmap<CTxDestination, CAddressBookData>const_iterator i = m_address_book.find(dest);
    if(i != m_address_book.end())
    {
        CAddressBookDataStringMapconst_iterator j = i->second.destdata.find(key);
        if(j != i->second.destdata.end())
        {
            return true;
        }
    }
    return false;