From 3448f3490588c1a7c7413cdd39d86a0b53d228bf Mon Sep 17 00:00:00 2001 From: Whymarrh Whitby Date: Fri, 17 Jan 2020 19:59:47 -0330 Subject: [PATCH] Clean up "JSON File" import strategy test output (#7855) --- app/scripts/account-import-strategies/index.js | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/app/scripts/account-import-strategies/index.js b/app/scripts/account-import-strategies/index.js index 18e564dda..7ff8c262f 100644 --- a/app/scripts/account-import-strategies/index.js +++ b/app/scripts/account-import-strategies/index.js @@ -1,3 +1,4 @@ +import log from 'loglevel' import Wallet from 'ethereumjs-wallet' import importers from 'ethereumjs-wallet/thirdparty' import ethUtil from 'ethereumjs-util' @@ -35,10 +36,7 @@ const accountImporter = { try { wallet = importers.fromEtherWallet(input, password) } catch (e) { - console.log('Attempt to import as EtherWallet format failed, trying V3...') - } - - if (!wallet) { + log.debug('Attempt to import as EtherWallet format failed, trying V3') wallet = Wallet.fromV3(input, password, true) }