This commit is contained in:
MoneroOcean
2024-05-31 20:19:14 +03:00
parent 2a1741ac52
commit 261c518133
2 changed files with 7 additions and 1 deletions

View File

@@ -232,3 +232,9 @@ module.exports.constructNewRtmBlob = function(blockTemplate, nonceBuff) {
nonceBuff.copy(blockTemplate, 76, 0, 4);
return blockTemplate;
};
module.exports.constructNewKcnBlob = function(blockTemplate, nonceBuff) {
update_merkle_root_hash(80, false, blockTemplate, blockTemplate);
nonceBuff.copy(blockTemplate, 76, 0, 4);
return blockTemplate;
};