From 3ac0d3de7855253b60f49ab54deb113f2e982c0a Mon Sep 17 00:00:00 2001 From: Christopher Jeffrey Date: Sun, 26 Feb 2017 04:03:27 -0800 Subject: [PATCH] http: fix for ckpool (getblocktemplate). --- lib/http/server.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/http/server.js b/lib/http/server.js index 48c60fac..889cc872 100644 --- a/lib/http/server.js +++ b/lib/http/server.js @@ -615,7 +615,7 @@ HTTPServer.prototype._init = function _init() { } if (!array) { - res.send(200, out[0]); + res.send(200, JSON.stringify(out[0]), 'json'); return; }