Browse Source

Fix lint errors

master
Luke Childs 6 years ago
parent
commit
e8a72d1e7f
  1. 16
      bench/index.js

16
bench/index.js

@ -26,14 +26,14 @@ options.forEach(options => {
const vain = new Vain(options); const vain = new Vain(options);
if (!isCI) { if (!isCI) {
vain.on('update', data => { vain.on('update', data => {
const duration = prettyMs(data.duration); const duration = prettyMs(data.duration);
const {attempts} = data; const {attempts} = data;
const speed = `${data.addressesPerSecond} addr/s`; const speed = `${data.addressesPerSecond} addr/s`;
console.log(`Duration: ${duration} | Attempts: ${attempts} | Speed: ${speed}`); console.log(`Duration: ${duration} | Attempts: ${attempts} | Speed: ${speed}`);
}); });
} }
vain.on('found', data => { vain.on('found', data => {
console.log(); console.log();

Loading…
Cancel
Save