From 1e0274f77dca144f9855cdcbf4201a91dfe69d57 Mon Sep 17 00:00:00 2001 From: pooler Date: Sat, 26 Dec 2015 18:37:48 +0100 Subject: [PATCH] Emit a warning on unrecognized block versions --- cpu-miner.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/cpu-miner.c b/cpu-miner.c index 464679b..b0856a4 100644 --- a/cpu-miner.c +++ b/cpu-miner.c @@ -400,8 +400,7 @@ static bool gbt_work_decode(const json_t *val, struct work *work) if (version_reduce) { version = (version & ~BLOCK_VERSION_MASK) | BLOCK_VERSION_CURRENT; } else if (!version_force) { - applog(LOG_ERR, "Unrecognized block version: %u", version); - goto out; + applog(LOG_WARNING, "Unrecognized block version: %u", version); } }