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.
This commit is contained in:
Jack Grigg 2020-05-28 21:11:49 +12:00
parent eb4ada98d2
commit 96681695c9
1 changed files with 1 additions and 1 deletions

View File

@ -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;