**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 (!spk_man->SetupGeneration()) {
                            error = Untranslated("Unable to generate initial keys");
                            status = DatabaseStatusFAILED_CREATE;
                            return nullptr;
                        }
                    }
                }
            }
            // R
            ->Lock();
        }
    }
    NotifyWalletLoaded(context, );
    AddWallet(context, );
    ->postInitProcess();
    // W
    UpdateWalletSetting(*context.chain, name, load_on_start, warnings);
    // L
    if (!(_creation_flags & WALLET_FLAG_DESCRIPTORS)) {
        warnings.push_back(_("Wallet created successfully. The legacy  type is being deprecated and support for creating and opening legacy s will be removed in the future."));
    }
    status = DatabaseStatusSUCCESS;
    return ;
}
stdshared_ptr<CWallet> RestoreWallet(WalletContext& context, const fspath& backup_file, const stdstring& _name, stdoptional<bool> load_on_start, DatabaseStatus& status, bilingual_str& error, stdvector<bilingual_str>& warnings)
{
    DatabaseOptions options;
    ReadDatabaseArgs(*context.args, options);
    options.require_existing = true;
    const fspath _path = fsbridgeAbsPathJoin(GetWalletDir(), fsu8path(_name));