mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-07-03 04:01:43 +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);
|
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;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user