rebuild database on error

This commit is contained in:
Miguel Freitas 2013-10-01 19:53:27 -03:00
parent b6db2327e4
commit 6f48cf1dc1

View File

@ -737,10 +737,10 @@ bool AppInit2(boost::thread_group& threadGroup)
if (!fLoaded) {
// first suggest a reindex
if (!fReset) {
bool fRet = uiInterface.ThreadSafeMessageBox(
/*bool fRet =*/ uiInterface.ThreadSafeMessageBox(
strLoadError + ".\n\n" + _("Do you want to rebuild the block database now?"),
"", CClientUIInterface::MSG_ERROR | CClientUIInterface::BTN_ABORT);
if (fRet) {
if (true /* [MF] fRet*/) {
fReindex = true;
fRequestShutdown = false;
} else {