**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).
auto _file = _path / ".dat";
    stdshared_ptr<CWallet> ;
    try {
        if (!fsexists(backup_file)) {
            error = Untranslated("Backup file does not exist");
            status = DatabaseStatusFAILED_INVALID_BACKUP_FILE;
            return nullptr;
        }
        if (fsexists(_path) || !TryCreateDirectories(_path)) {
            error = Untranslated(strprintf("Failed to create database path '%s'. Database already exists.", fsPathToString(_path)));
            status = DatabaseStatusFAILED_ALREADY_EXISTS;
            return nullptr;
        }
        fscopy_file(backup_file, _file, fscopy_optionsnone);
         = LoadWallet(context, _name, load_on_start, options, status, error, warnings);
    } catch (const stdexception& e) {
        assert(!);
        if (!error.empty()) error += Untranslated("\n");
        error += strprintf(Untranslated("Unexpected exception %s"), e.what());
    }
    if (!) {
        fsremove_all(_path);
    }
    return ;
}
/** @defgroup mapWallet
 *
 * @{
 */
const CWalletTx* CWalletGetWalletTx(const uint256& hash) const