Browse Source

Report [CANCELLED] instead of [DONE] when shut down during txdb upgrade

0.15
Jonas Schnelli 8 years ago
parent
commit
542ce6e246
No known key found for this signature in database
GPG Key ID: 1EB776BB03C7922D
  1. 2
      src/txdb.cpp

2
src/txdb.cpp

@ -417,6 +417,6 @@ bool CCoinsViewDB::Upgrade() {
} }
db.WriteBatch(batch); db.WriteBatch(batch);
uiInterface.SetProgressBreakAction(std::function<void(void)>()); uiInterface.SetProgressBreakAction(std::function<void(void)>());
LogPrintf("[DONE].\n"); LogPrintf("[%s].\n", ShutdownRequested() ? "CANCELLED" : "DONE");
return true; return true;
} }

Loading…
Cancel
Save