Fixed KCN blob contruction in all cases

This commit is contained in:
MoneroOcean
2024-06-01 20:31:28 +03:00
parent 0bb1785826
commit 1d0ada1c82
2 changed files with 2 additions and 2 deletions

View File

@@ -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;
};