extra curly braces for code readability
This commit is contained in:
parent
5c7149aeab
commit
6f92775b2c
|
@ -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;
|
||||||
|
|
Loading…
Reference in New Issue