Browse Source

Fix .jshintrc and add missing semis

patch-2
Braydon Fuller 10 years ago
parent
commit
81fa162a7f
  1. 2
      .jshintrc
  2. 4
      lib/publickey.js

2
.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",

4
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

Loading…
Cancel
Save