diff --git a/src/stratifier.c b/src/stratifier.c index 30c270b0..cd3d0eb3 100644 --- a/src/stratifier.c +++ b/src/stratifier.c @@ -406,7 +406,7 @@ static void send_workinfo(ckpool_t *ckp, workbase_t *wb) sprintf(cdfield, "%lu,%lu", wb->gentime.tv_sec, wb->gentime.tv_nsec); - val = json_pack("{ss,si,ss,ss,ss,ss,ss,ss,ss,ss,so,ss,ss,ss,ss}", + val = json_pack("{ss,si,ss,ss,ss,ss,ss,ss,ss,ss,si,so,ss,ss,ss,ss}", "method", "workinfo", "workinfoid", wb->id, "poolinstance", ckp->name, @@ -417,6 +417,7 @@ static void send_workinfo(ckpool_t *ckp, workbase_t *wb) "version", wb->bbversion, "ntime", wb->ntime, "bits", wb->nbit, + "reward", wb->coinbasevalue, "merklehash", json_deep_copy(wb->merkle_array), "createdate", cdfield, "createby", "code",