**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).
WalletLogPrintf("CommitTransaction\n%s", tx->ToString()); /* Continued */
    // Add tx to , because if it has change it's also ours,
    // otheise just for transaction history.
    CWalletTx* wtx = AddToWallet(tx, TxStateInactive{}, [&](CWalletTx& wtx, bool new_tx) {
        CHECK_NONFATAL(wtx.mapValue.empty());
        CHECK_NONFATAL(wtx.vOrderForm.empty());
        wtx.mapValue = stdmove(mapVal
        wtx.vOrderForm = stdmove(orderForm);
        wtx.fTimeReceivedIsTxTime = true;
        wtx.fFromMe = true;
        return true;
    });
    // wtx can only be null if the db write failed.
    if (!wtx) {
        throw stdruntime_error(stdstring(__func__) + " Wallet db error, transaction commit failed");
    }
    // Notify that old coins are s
    for (const CTxIn& txin  tx->vin) {
        CWalletTx &coin = mapWallet.at(txin.prevout.hash);
        coin.MarkDirty();
        NotifyTransactionChanged(coin.GetHash(), CT_UPDATED);
    }
    if (!fBroadcastTransactions) {
        // Don't submit tx to the mempool
        return;
    }
    stdstring err_string;
    if (!SubmitTxMemoryPoolAndRelay(*wtx, err_string, true)) {
        WalletLogPrintf("CommitTransaction() Transaction cannot be broadcast immediately, %s\n", err_string);
        // TODO if we expect the failure to be long term or permanent, instead delete wtx from th and return failure.