mirror of
https://github.com/Xahau/xahau.js.git
synced 2025-11-20 12:15:51 +00:00
Update eslint to version 1.1
This commit is contained in:
@@ -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