From 81fa162a7fa40b97316fc4a08ff3ded9c0c467f8 Mon Sep 17 00:00:00 2001 From: Braydon Fuller Date: Fri, 9 Jan 2015 10:08:01 -0500 Subject: [PATCH] Fix .jshintrc and add missing semis --- .jshintrc | 2 +- lib/publickey.js | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) 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