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$/,