Skip to content

Commit

Permalink
Report [CANCELLED] instead of [DONE] when shut down during txdb upgrade
Browse files Browse the repository at this point in the history
Cherry-picked from: 542ce6e
  • Loading branch information
jonasschnelli authored and xanimo committed Dec 19, 2024
1 parent ad18c04 commit ec386cd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/txdb.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -425,6 +425,6 @@ bool CCoinsViewDB::Upgrade() {
}
db.WriteBatch(batch);
uiInterface.SetProgressBreakAction(std::function<void(void)>());
LogPrintf("[DONE].\n");
LogPrintf("[%s].\n", ShutdownRequested() ? "CANCELLED" : "DONE");
return true;
}

0 comments on commit ec386cd

Please sign in to comment.