From 96681695c957354e1a60fb623db443dccefc9f97 Mon Sep 17 00:00:00 2001 From: Jack Grigg Date: Thu, 28 May 2020 21:11:49 +1200 Subject: [PATCH] metrics: Don't show "not mining" text for mainnet Mining with the zcashd built-in CPU miner is not useful work on mainnet at the current network difficulty. --- src/metrics.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/metrics.cpp b/src/metrics.cpp index b7e49b8bd..30bd88322 100644 --- a/src/metrics.cpp +++ b/src/metrics.cpp @@ -373,7 +373,7 @@ int printMiningStatus(bool mining) } } lines++; - } else { + } else if (Params().NetworkIDString() != "main") { std::cout << _("You are currently not mining.") << std::endl; std::cout << _("To enable mining, add 'gen=1' to your zcash.conf and restart.") << std::endl; lines += 2;