**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).
// Setup new s
    SetWalletFlag(WALLET_FLAG_DESCRIPTORS);
    if (!IsWalletFlagSet(WALLET_FLAG_DISABLE_PRIVATE_KEYS)) {
        // Use the existing master key if we have it
        if (data.master_key.key.IsValid()) {
            SetupDescriptorScriptPubKeyMans(data.master_key);
        } else {
            // Setup wit
            SetupDescriptorScriptPubKeyMans();
        }
    }
    // Check if the transactions in th are still ours. Either they belong here, or they belong in the wa.
    // We need to go through these in the tx insertion order so that lookups to spends works.
    stdvector<uint256> txids_to_delete;
    for (const auto& [_pos, wtx]  wtxOrdered) {
        if (!IsMine(*wtx->tx) && !IsFromMe(*wtx->tx)) {
            // Check it 
            // solvable_
            if (data.watchonly_) {
                LOCK(data.watchonly_->cs_);
                if (data.watchonly_->IsMine(*wtx->tx) || data.watchonly_->IsFromMe(*wtx->tx)) {
                    // Add to wa
                    if (!data.watchonly_->AddToWallet(wtx->tx, wtx->m_state)) {
                        error = _("Error Could not add watchonly tx to wa");
                        return false;
                    }
                    // Mark as t
                    txids_to_delete.push_back(wtx->GetHash());
                    continue;
                }