extra curly braces for code readability

This commit is contained in:
Ryan X. Charles 2014-09-22 14:56:07 -07:00
parent 5c7149aeab
commit 6f92775b2c
1 changed files with 4 additions and 2 deletions

View File

@ -181,10 +181,12 @@ Script.prototype.isOpReturn = function() {
(this.chunks.length === 2 (this.chunks.length === 2
&& this.chunks[1].buf && this.chunks[1].buf
&& this.chunks[1].buf.length <= 40 && this.chunks[1].buf.length <= 40
&& this.chunks[1].length === this.chunks.len))) && this.chunks[1].length === this.chunks.len))) {
return true; return true;
else } else {
return false; return false;
}
}; };
module.exports = Script; module.exports = Script;