Skip to content

Commit 2d10e2e

Browse files
random-zebrafurszy
authored andcommitted
[Trivial][UI] Fix init messages
- add "Upgrading coins database..." feedback - remove misplaced "Loading block index..."
1 parent 3e8ccf0 commit 2d10e2e

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
@@ -1472,8 +1472,6 @@ bool AppInit2()
14721472
bool fReset = fReindex;
14731473
std::string strLoadError;
14741474

1475-
uiInterface.InitMessage(_("Loading block index..."));
1476-
14771475
do {
14781476
const int64_t load_block_index_start_time = GetTimeMillis();
14791477

@@ -1498,6 +1496,7 @@ bool AppInit2()
14981496
if (fReindex) {
14991497
pblocktree->WriteReindexing(true);
15001498
} else {
1499+
uiInterface.InitMessage(_("Upgrading coins database..."));
15011500
// If necessary, upgrade from older database format.
15021501
if (!pcoinsdbview->Upgrade()) {
15031502
strLoadError = _("Error upgrading chainstate database");

0 commit comments

Comments
 (0)