Compare commits

..

2 Commits

Author SHA1 Message Date
MoneroOcean 7c139874ce Removed extra debug output 2020-12-27 07:37:50 +00:00
MoneroOcean 58f8aeb67b Removed extra debug output 2020-12-11 16:16:22 +00:00
2 changed files with 1 additions and 2 deletions
-1
View File
@@ -49,7 +49,6 @@ function getMerkleRoot(transactions) {
const forWitness = txesHaveWitnessCommit(transactions);
const hashes = transactions.map(transaction => transaction.getHash(forWitness));
const rootHash = fastMerkleRoot(hashes, hash256);
console.log(forWitness);
return forWitness ? hash256(Buffer.concat([rootHash, transactions[0].ins[0].witness[0]])) : rootHash;
}
+1 -1
View File
@@ -1,6 +1,6 @@
{
"name": "cryptoforknote-util",
"version": "9.0.17",
"version": "9.0.18",
"main": "cryptoforknote-util",
"author": {
"name": "LucasJones",