From 24f10266894245117f86c620a1be72fba26a6661 Mon Sep 17 00:00:00 2001 From: Jack Grigg Date: Sun, 30 Oct 2016 16:54:05 -0700 Subject: [PATCH] Show mining info once the node has finished loading Closes #1685 --- src/metrics.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/metrics.cpp b/src/metrics.cpp index cfc5c987b..d2a15d91a 100644 --- a/src/metrics.cpp +++ b/src/metrics.cpp @@ -144,7 +144,7 @@ int printMetrics(size_t cols, int64_t nStart, bool mining) std::cout << "- " << strprintf(_("You have validated %d transactions!"), transactionsValidated.get()) << std::endl; - if (mining) { + if (mining && loaded) { double solps = uptime > 0 ? (double)solutionTargetChecks.get() / uptime : 0; std::string strSolps = strprintf("%.4f Sol/s", solps); std::cout << "- " << strprintf(_("You have contributed %s on average to the network solution rate."), strSolps) << std::endl;