From 3755d49f34e798909484d604ebcae50082cd6060 Mon Sep 17 00:00:00 2001 From: pb376 Date: Sun, 21 Jan 2018 11:45:16 -0500 Subject: [PATCH] Update the last contact time when we receive a keepalive message from the miner. --- proxy.js | 1 + 1 file changed, 1 insertion(+) diff --git a/proxy.js b/proxy.js index beceb35..f2e2ecb 100644 --- a/proxy.js +++ b/proxy.js @@ -945,6 +945,7 @@ function handleMinerData(method, params, ip, portData, sendReply, pushMessage, m sendReply('Unauthenticated'); return; } + miner.heartbeat(); sendReply(null, { status: 'KEEPALIVED' });