init: Remove incorrect comment about shutdown condition

Shutdown is indeed called, and it being overkill does not make sense
either.
This commit is contained in:
MarcoFalke 2024-10-07 11:18:43 +02:00 committed by TheCharlatan
parent 635e9f85d7
commit cd093049dd
No known key found for this signature in database
GPG key ID: 9B79B45691DB4173

View file

@ -1662,7 +1662,6 @@ bool AppInitMain(NodeContext& node, interfaces::BlockAndHeaderTipInfo* tip_info)
// As LoadBlockIndex can take several minutes, it's possible the user
// requested to kill the GUI during the last operation. If so, exit.
// As the program has not fully started yet, Shutdown() is possibly overkill.
if (ShutdownRequested(node)) {
LogPrintf("Shutdown requested. Exiting.\n");
return false;