Skip to content

Commit

Permalink
init: move "Done loading" message and rpc warm up finished after the …
Browse files Browse the repository at this point in the history
…wallet post initialization process
  • Loading branch information
furszy committed Mar 11, 2021
1 parent 8762e81 commit 7cb8276
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions src/init.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1971,11 +1971,9 @@ bool AppInitMain()

// ********************************************************* Step 12: finished

SetRPCWarmupFinished();
uiInterface.InitMessage(_("Done loading"));

#ifdef ENABLE_WALLET
if (pwalletMain) {
uiInterface.InitMessage(_("Reaccepting wallet transactions..."));
pwalletMain->postInitProcess(scheduler);

// StakeMiner thread disabled by default on regtest
Expand All @@ -1985,5 +1983,8 @@ bool AppInitMain()
}
#endif

SetRPCWarmupFinished();
uiInterface.InitMessage(_("Done loading"));

return true;
}

0 comments on commit 7cb8276

Please sign in to comment.