mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-02-22 06:52:36 +01:00
Report [CANCELLED] instead of [DONE] when shut down during txdb upgrade
This commit is contained in:
parent
83fbea3f25
commit
542ce6e246
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Reference in a new issue