mirror of
https://github.com/Xahau/xahau.js.git
synced 2025-11-19 19:55:51 +00:00
Update eslint to version 1.1
This commit is contained in:
@@ -28,7 +28,7 @@
|
||||
"babel-eslint": "^4.0.5",
|
||||
"babel-loader": "^5.3.2",
|
||||
"coveralls": "~2.10.0",
|
||||
"eslint": "^1.0.0",
|
||||
"eslint": "^1.1.0",
|
||||
"eventemitter2": "^0.4.14",
|
||||
"istanbul": "~0.3.5",
|
||||
"lodash": "^3.10.0",
|
||||
|
||||
@@ -98,7 +98,9 @@ class K256Pair extends KeyPair {
|
||||
verify(message, signature) {
|
||||
try {
|
||||
return this.key().verify(this.hashMessage(message), signature);
|
||||
/* eslint-disable no-catch-shadow */
|
||||
} catch (e) {
|
||||
/* eslint-enable no-catch-shadow */
|
||||
return false;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user