Update pool.js
This commit is contained in:
@@ -282,7 +282,7 @@ BlockTemplate.prototype = {
|
|||||||
nextBlob: function (index) {
|
nextBlob: function (index) {
|
||||||
this.buffer.writeUInt32BE(++this.extraNonce, this.reserveOffset);
|
this.buffer.writeUInt32BE(++this.extraNonce, this.reserveOffset);
|
||||||
if (mergedMining && this.childBlockTemplate) {
|
if (mergedMining && this.childBlockTemplate) {
|
||||||
return utils.cnUtil.convert_blob(this.buffer, cnBlobType, this.childBlockTemplate.buffer).toString('hex')
|
return utils.cnUtil.convert_blob(this.buffer, cnBlobType, this.childBlockTemplate.buffer).toString('hex');
|
||||||
}
|
}
|
||||||
return utils.cnUtil.convert_blob(this.buffer, cnBlobType).toString('hex');
|
return utils.cnUtil.convert_blob(this.buffer, cnBlobType).toString('hex');
|
||||||
},
|
},
|
||||||
|
|||||||
Reference in New Issue
Block a user