Skip to content

Commit 979cb74

Browse files
committed
[Trivial][UI] Fix init messages
- add "Upgrading coins database..." feedback - remove misplaced "Loading block index..."
1 parent 5aed03f commit 979cb74

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/init.cpp

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1470,8 +1470,6 @@ bool AppInit2()
14701470
bool fReset = fReindex;
14711471
std::string strLoadError;
14721472

1473-
uiInterface.InitMessage(_("Loading block index..."));
1474-
14751473
do {
14761474
const int64_t load_block_index_start_time = GetTimeMillis();
14771475

@@ -1496,6 +1494,7 @@ bool AppInit2()
14961494
if (fReindex) {
14971495
pblocktree->WriteReindexing(true);
14981496
} else {
1497+
uiInterface.InitMessage(_("Upgrading coins database..."));
14991498
// If necessary, upgrade from older database format.
15001499
if (!pcoinsdbview->Upgrade()) {
15011500
strLoadError = _("Error upgrading chainstate database");

0 commit comments

Comments
 (0)