From 6f92775b2cacb3798f578dbc38753a734e89d5ad Mon Sep 17 00:00:00 2001 From: "Ryan X. Charles" Date: Mon, 22 Sep 2014 14:56:07 -0700 Subject: [PATCH] extra curly braces for code readability --- lib/script.js | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/lib/script.js b/lib/script.js index 4b2f2aa..46a251d 100644 --- a/lib/script.js +++ b/lib/script.js @@ -181,10 +181,12 @@ Script.prototype.isOpReturn = function() { (this.chunks.length === 2 && this.chunks[1].buf && this.chunks[1].buf.length <= 40 - && this.chunks[1].length === this.chunks.len))) + && this.chunks[1].length === this.chunks.len))) { return true; - else + } else { return false; + } }; + module.exports = Script;