From 2138e497a516f9c7d874f6513ab33680f101a0e0 Mon Sep 17 00:00:00 2001 From: Alexander Blair Date: Mon, 16 Oct 2017 09:20:19 -0700 Subject: [PATCH] Fix for templateUpdate, the only place I use getBlockTemplate. --- lib/pool.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/pool.js b/lib/pool.js index 23d402b..0044d90 100644 --- a/lib/pool.js +++ b/lib/pool.js @@ -155,7 +155,7 @@ function checkAliveMiners() { } function templateUpdate(repeating) { - global.coinFuncs.getBlockTemplate(global.config.pool.address, function (err, rpcResponse) { + global.coinFuncs.getBlockTemplate(global.config.pool.address, function (rpcResponse) { if (rpcResponse && typeof rpcResponse.result !== 'undefined') { rpcResponse = rpcResponse.result; let buffer = new Buffer(rpcResponse.blocktemplate_blob, 'hex');