|
@@ -2945,7 +2945,7 @@ static bool work_decode(struct pool *pool, struct work *work, json_t *val)
|
|
|
int branchcount;
|
|
int branchcount;
|
|
|
libblkmaker_hash_t *branches;
|
|
libblkmaker_hash_t *branches;
|
|
|
|
|
|
|
|
- if (blkmk_get_mdata(tmpl, buf, sizeof(buf), tv_now.tv_sec, &expire, &cbtxn, &cbtxnsz, &cbextranonceoffset, &branchcount, &branches, GBT_XNONCESZ))
|
|
|
|
|
|
|
+ if (blkmk_get_mdata(tmpl, buf, sizeof(buf), tv_now.tv_sec, &expire, &cbtxn, &cbtxnsz, &cbextranonceoffset, &branchcount, &branches, GBT_XNONCESZ, false))
|
|
|
{
|
|
{
|
|
|
struct stratum_work * const swork = &pool->swork;
|
|
struct stratum_work * const swork = &pool->swork;
|
|
|
const size_t branchdatasz = branchcount * 0x20;
|
|
const size_t branchdatasz = branchcount * 0x20;
|