lint compliance
parent
b134799449
commit
479b76f848
|
@ -5,10 +5,6 @@ const Util = require("../common-util");
|
|||
const escapeKeyCharacters = Util.escapeKeyCharacters;
|
||||
//const { fork } = require('child_process');
|
||||
|
||||
/* Use Nacl for checking signatures of messages */
|
||||
const Nacl = require("tweetnacl/nacl-fast");
|
||||
|
||||
|
||||
Core.DEFAULT_LIMIT = 50 * 1024 * 1024;
|
||||
Core.SESSION_EXPIRATION_TIME = 60 * 1000;
|
||||
|
||||
|
|
|
@ -66,7 +66,7 @@ const checkDetachedSignature = function (signedMsg, signature, publicKey) {
|
|||
|
||||
COMMANDS.DETACHED = function (data, cb) {
|
||||
try {
|
||||
checkDetachedSignature(data.msg, data.sig, data.key)
|
||||
checkDetachedSignature(data.msg, data.sig, data.key);
|
||||
} catch (err) {
|
||||
return void cb(err && err.message);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue