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