From 82e7306da48dc90a749c6a2fc8228d91a091a468 Mon Sep 17 00:00:00 2001 From: Con Kolivas Date: Wed, 18 Jun 2014 22:44:10 +1000 Subject: [PATCH] Diff is a double in shares --- src/stratifier.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/stratifier.c b/src/stratifier.c index 96acb4ee..f4b66843 100644 --- a/src/stratifier.c +++ b/src/stratifier.c @@ -1668,7 +1668,7 @@ out_unlock: json_set_string(val, "nonce2", nonce2); json_set_string(val, "nonce", nonce); json_set_string(val, "ntime", ntime); - json_set_int(val, "diff", diff); + json_set_double(val, "diff", diff); json_set_double(val, "sdiff", sdiff); json_set_string(val, "hash", hexhash); json_set_bool(val, "result", result);