mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-07-02 03:31:35 +02:00
Report [CANCELLED] instead of [DONE] when shut down during txdb upgrade
This commit is contained in:
@ -417,6 +417,6 @@ bool CCoinsViewDB::Upgrade() {
|
||||
}
|
||||
db.WriteBatch(batch);
|
||||
uiInterface.SetProgressBreakAction(std::function<void(void)>());
|
||||
LogPrintf("[DONE].\n");
|
||||
LogPrintf("[%s].\n", ShutdownRequested() ? "CANCELLED" : "DONE");
|
||||
return true;
|
||||
}
|
||||
|
Reference in New Issue
Block a user