From 58f8aeb67b77915a744f6d1269efed92e40348a6 Mon Sep 17 00:00:00 2001 From: MoneroOcean Date: Fri, 11 Dec 2020 16:16:22 +0000 Subject: [PATCH] Removed extra debug output --- index.js | 1 - 1 file changed, 1 deletion(-) diff --git a/index.js b/index.js index 74e8a9f..144abe0 100644 --- a/index.js +++ b/index.js @@ -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; }