diff --git a/.jshintrc b/.jshintrc index 1d70b696f..40fd8c6f6 100644 --- a/.jshintrc +++ b/.jshintrc @@ -28,7 +28,7 @@ "maxcomplexity": 6, // Cyclomatic complexity (http://en.wikipedia.org/wiki/Cyclomatic_complexity) "maxdepth": 4, // Maximum depth of nested control structures "maxlen": 120, // Maximum number of cols in a line - "multistr": true // Allow use of multiline EOL escaping + "multistr": true, // Allow use of multiline EOL escaping "predef": [ // Extra globals. "after", diff --git a/lib/publickey.js b/lib/publickey.js index 0bba32a7d..0ce572ccb 100644 --- a/lib/publickey.js +++ b/lib/publickey.js @@ -391,8 +391,8 @@ PublicKey.prototype.toBuffer = PublicKey.prototype.toDER = function() { * @returns {Buffer} */ PublicKey.prototype.getID = function getID() { - return Hash.sha256ripemd160(this.toBuffer()) -} + return Hash.sha256ripemd160(this.toBuffer()); +}; /** * Will return an address for the public key