Fix .jshintrc and add missing semis
This commit is contained in:
parent
b38f7fa319
commit
81fa162a7f
|
@ -28,7 +28,7 @@
|
||||||
"maxcomplexity": 6, // Cyclomatic complexity (http://en.wikipedia.org/wiki/Cyclomatic_complexity)
|
"maxcomplexity": 6, // Cyclomatic complexity (http://en.wikipedia.org/wiki/Cyclomatic_complexity)
|
||||||
"maxdepth": 4, // Maximum depth of nested control structures
|
"maxdepth": 4, // Maximum depth of nested control structures
|
||||||
"maxlen": 120, // Maximum number of cols in a line
|
"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.
|
"predef": [ // Extra globals.
|
||||||
"after",
|
"after",
|
||||||
|
|
|
@ -391,8 +391,8 @@ PublicKey.prototype.toBuffer = PublicKey.prototype.toDER = function() {
|
||||||
* @returns {Buffer}
|
* @returns {Buffer}
|
||||||
*/
|
*/
|
||||||
PublicKey.prototype.getID = function getID() {
|
PublicKey.prototype.getID = function getID() {
|
||||||
return Hash.sha256ripemd160(this.toBuffer())
|
return Hash.sha256ripemd160(this.toBuffer());
|
||||||
}
|
};
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Will return an address for the public key
|
* Will return an address for the public key
|
||||||
|
|
Loading…
Reference in New Issue