mirror of
https://github.com/dashpay/dash.git
synced 2024-12-25 12:02:48 +01:00
Skip remainder of init if upgrade is cancelled
This commit is contained in:
parent
318392ca7c
commit
861f9a28bc
@ -422,5 +422,5 @@ bool CCoinsViewDB::Upgrade() {
|
||||
db.CompactRange({DB_COINS, uint256()}, key);
|
||||
uiInterface.SetProgressBreakAction(std::function<void(void)>());
|
||||
LogPrintf("[%s].\n", ShutdownRequested() ? "CANCELLED" : "DONE");
|
||||
return true;
|
||||
return !ShutdownRequested();
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user