From 4da670dddb4a422f5e2bf226933a76274f4b42c7 Mon Sep 17 00:00:00 2001 From: Alexander Blair Date: Sun, 26 Feb 2017 00:14:16 -0800 Subject: [PATCH] Moving the status into the result state. --- lib/pool.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/lib/pool.js b/lib/pool.js index b04d19b..922f32b 100644 --- a/lib/pool.js +++ b/lib/pool.js @@ -699,7 +699,9 @@ function handleMinerData(method, params, ip, portData, sendReply, pushMessage) { sendReply('Unauthenticated'); return; } - sendReply('KEEPALIVED'); + sendReply(null, { + status: 'KEEPALIVED' + }); break; } }