Skip to content

Commit

Permalink
Emit a warning on unrecognized block versions
Browse files Browse the repository at this point in the history
  • Loading branch information
pooler committed Dec 30, 2015
1 parent cac0976 commit 1e0274f
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions cpu-miner.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}
}

Expand Down

0 comments on commit 1e0274f

Please sign in to comment.