Fix for templateUpdate, the only place I use getBlockTemplate.

master
Alexander Blair 7 years ago committed by Alexander Blair
parent 667bc5a029
commit 2138e497a5

@ -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');

Loading…
Cancel
Save