From 631ea54b49f0f9accb4967135f3d0ec1fb7167c8 Mon Sep 17 00:00:00 2001 From: ansuz Date: Tue, 17 Mar 2020 15:40:06 -0400 Subject: [PATCH] lint compliance --- lib/check-signature.js | 4 +++- lib/commands/core.js | 2 +- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/lib/check-signature.js b/lib/check-signature.js index 8f3d5edad..6ffd6329e 100644 --- a/lib/check-signature.js +++ b/lib/check-signature.js @@ -1,3 +1,5 @@ +/* jshint esversion: 6 */ +/* global process */ const Nacl = require('tweetnacl/nacl-fast'); // XXX npm "os" and "child_process" @@ -7,7 +9,7 @@ const Nacl = require('tweetnacl/nacl-fast'); console.log('New child process', process.pid); process.on('message', function (data) { - console.log('In process', process.pid) + console.log('In process', process.pid); console.log(+new Date(), "Message received by subprocess"); if (!data || !data.key || !data.msg || !data.txid) { process.send({ diff --git a/lib/commands/core.js b/lib/commands/core.js index bb5156749..030aaf4ca 100644 --- a/lib/commands/core.js +++ b/lib/commands/core.js @@ -3,7 +3,7 @@ const Core = module.exports; const Util = require("../common-util"); const escapeKeyCharacters = Util.escapeKeyCharacters; -const { fork } = require('child_process'); +//const { fork } = require('child_process'); /* Use Nacl for checking signatures of messages */ const Nacl = require("tweetnacl/nacl-fast");