a few more slow nacl imports that I missed

pull/1/head
ansuz 5 years ago
parent c968d1cdae
commit 648980ad50

@ -2,7 +2,7 @@
const Fs = require('fs'); const Fs = require('fs');
const nThen = require('nthen'); const nThen = require('nthen');
const Pinned = require('./pinned'); const Pinned = require('./pinned');
const Nacl = require('tweetnacl'); const Nacl = require('tweetnacl/nacl-fast');
const Path = require('path'); const Path = require('path');
const Pins = require('../lib/pins'); const Pins = require('../lib/pins');
const Config = require('../lib/load-config'); const Config = require('../lib/load-config');

@ -1,6 +1,6 @@
/* jshint esversion: 6, node: true */ /* jshint esversion: 6, node: true */
const Nacl = require('tweetnacl'); const Nacl = require('tweetnacl/nacl-fast');
const keyPair = Nacl.box.keyPair(); const keyPair = Nacl.box.keyPair();
console.log("You've just generated a new key pair for your support mailbox."); console.log("You've just generated a new key pair for your support mailbox.");

Loading…
Cancel
Save