|
|
@@ -1654,6 +1654,7 @@ static bool work_decode(const json_t *val, struct work *work)
|
|
|
ssize_t ae = blkmk_append_coinbase_safe(work->tmpl, &template_nonce, sizeof(template_nonce));
|
|
|
if (ae < (ssize_t)sizeof(template_nonce))
|
|
|
applog(LOG_WARNING, "Cannot append template-nonce to coinbase on pool %u (%d) - you might be wasting hashing!", work->pool->pool_no, ae);
|
|
|
+ ++template_nonce;
|
|
|
}
|
|
|
}
|
|
|
#endif
|