Fixed KCN blob contruction in all cases
This commit is contained in:
2
index.js
2
index.js
@@ -276,7 +276,7 @@ module.exports.constructNewRtmBlob = function(blockTemplate, nonceBuff) {
|
||||
};
|
||||
|
||||
module.exports.constructNewKcnBlob = function(blockTemplate, nonceBuff) {
|
||||
update_merkle_root_hash(80, false, blockTemplate, blockTemplate);
|
||||
update_merkle_root_hash3(80, false, blockTemplate, blockTemplate);
|
||||
nonceBuff.copy(blockTemplate, 76, 0, 4);
|
||||
return blockTemplate;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user