From fd39937c84ab05e5db153a525f968d635864a699 Mon Sep 17 00:00:00 2001 From: Boris Kubiak Date: Sun, 18 Feb 2018 18:38:47 +0100 Subject: [PATCH] Lint --- src/js/vanity.js | 6 +++--- webpack.config.js | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/js/vanity.js b/src/js/vanity.js index 8563f29..935215f 100644 --- a/src/js/vanity.js +++ b/src/js/vanity.js @@ -36,9 +36,9 @@ const isValidVanityWallet = (wallet, input, isChecksum) => { const hash = ethUtils.sha3(address).toString('hex'); for (let i = 0; i < input.length; i++) { - if(input[i] !== (parseInt(hash[i], 16) >= 8 ? address[i].toUpperCase() : address[i])) { - return false; - } + if (input[i] !== (parseInt(hash[i], 16) >= 8 ? address[i].toUpperCase() : address[i])) { + return false; + } } return true; }; diff --git a/webpack.config.js b/webpack.config.js index a8c4075..b67210c 100644 --- a/webpack.config.js +++ b/webpack.config.js @@ -14,7 +14,7 @@ module.exports = { rules: [ { test: /\.vue$/, - loader: 'vue-loader', + loader: 'vue-loader' }, { test: /vanity\.js$/,