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) {
|
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);
|
nonceBuff.copy(blockTemplate, 76, 0, 4);
|
||||||
return blockTemplate;
|
return blockTemplate;
|
||||||
};
|
};
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "cryptoforknote-util",
|
"name": "cryptoforknote-util",
|
||||||
"version": "15.3.13",
|
"version": "15.3.14",
|
||||||
"author": {
|
"author": {
|
||||||
"name": "LucasJones",
|
"name": "LucasJones",
|
||||||
"email": "lucasjonesdev@hotmail.co.uk"
|
"email": "lucasjonesdev@hotmail.co.uk"
|
||||||
|
|||||||
Reference in New Issue
Block a user