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");