From 9afb141dce5881e22137d9db8f3767cedb895a9b Mon Sep 17 00:00:00 2001 From: Christopher Jeffrey Date: Mon, 23 May 2016 22:18:26 -0700 Subject: [PATCH] minor. --- lib/bcoin/merkleblock.js | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/lib/bcoin/merkleblock.js b/lib/bcoin/merkleblock.js index 8834b69b..bedadc29 100644 --- a/lib/bcoin/merkleblock.js +++ b/lib/bcoin/merkleblock.js @@ -266,7 +266,6 @@ MerkleBlock.prototype._verify = function _verify(ret) { if (!this.verifyHeaders(ret)) return false; - // Verify the partial merkle tree if we are a merkleblock. if (!this.verifyPartial()) { ret.reason = 'bad-txnmrklroot'; ret.score = 100; @@ -320,9 +319,7 @@ MerkleBlock.prototype.inspect = function inspect() { */ MerkleBlock.prototype.toRaw = function toRaw(enc) { - var data; - - data = this.render(); + var data = this.render(); if (enc === 'hex') data = data.toString('hex');