From 841bf86d7d49a640b8f2df2e9431c96decb5ee70 Mon Sep 17 00:00:00 2001 From: Christopher Jeffrey Date: Tue, 3 Jun 2014 09:45:53 -0500 Subject: [PATCH] block: fix for style conventions. --- lib/bcoin/block.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/lib/bcoin/block.js b/lib/bcoin/block.js index e4a0e3ca..72ef3373 100644 --- a/lib/bcoin/block.js +++ b/lib/bcoin/block.js @@ -195,9 +195,9 @@ Block.prototype._checkBlock = function checkBlock() { } // First TX must be a coinbase - if (!this.txs.length - || this.txs[0].inputs.length !== 1 - || +this.txs[0].inputs[0].out.hash !== 0) { + if (!this.txs.length || + this.txs[0].inputs.length !== 1 || + +this.txs[0].inputs[0].out.hash !== 0) { return false; }