block: fix for style conventions.

This commit is contained in:
Christopher Jeffrey 2014-06-03 09:45:53 -05:00
parent 566b2e9916
commit 841bf86d7d

View File

@ -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;
}