**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).
if (IsWalletFlagSet(WALLET_FLAG_EXTERNAL_SIGNER)) {
        auto spk_manager = stdunique_ptr<ScriptPubKeyMan>(new ExternalSignerScriptPubKeyMan(*this, desc));
        m_spk_managers[id] = stdmove(spk_manager);
    } else {
        auto spk_manager = stdunique_ptr<ScriptPubKeyMan>(new DescriptorScriptPubKeyMan(*this, desc));
        m_spk_managers[id] = stdmove(spk_manager);
    }
}
void CWalletSetupDescriptorScriptPubKeyMans(const CExtKey& master_key)
{
    AssertLockHeld(cs_);
    for (bool internal  {false, true}) {
        for (OutputType t  OUTPUT_TYPES) {
            auto spk_manager = stdunique_ptr<DescriptorScriptPubKeyMan>(new DescriptorScriptPubKeyMan(*this));
            if (IsCrypted()) {
                if (IsLocked()) {
                    throw stdruntime_error(stdstring(__func__) + " Wallet is locked, cannot setup new s");
                }
                if (!spk_manager->CheckDecryptionKey(vMasterKey) && !spk_manager->Encrypt(vMasterKey, nullptr)) {
                    throw stdruntime_error(stdstring(__func__) + " Could not encrypt new s");
                }
            }
            spk_manager->SetupDescriptorGeneration(master_key, t, internal);
            uint256 id = spk_manager->GetID();
            m_spk_managers[id] = stdmove(spk_manager);
            AddActiveScriptPubKeyMan(id, t, internal);
        }
    }
}
void CWalletSetupDescriptorScriptPubKeyMans()