From ae773246f82faec807f120d1d21a01553c787ee6 Mon Sep 17 00:00:00 2001 From: miketout Date: Thu, 11 Oct 2018 14:52:05 -0700 Subject: [PATCH] Error message only when cheatstaker parameter is invalid, not missing --- src/miner.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/miner.cpp b/src/miner.cpp index f075498b6..e9806d89e 100644 --- a/src/miner.cpp +++ b/src/miner.cpp @@ -1887,7 +1887,8 @@ void static BitcoinMiner() } else { - fprintf(stderr, "-cheatcatcher parameter is invalid Sapling payment address"); + if (VERUS_CHEATCATCHER.size() > 0) + fprintf(stderr, "-cheatcatcher parameter is invalid Sapling payment address\n"); } static boost::thread_group* minerThreads = NULL;