aboutsummaryrefslogtreecommitdiffstats
path: root/app/scripts/metamask-controller.js
diff options
context:
space:
mode:
authorbrunobar79 <brunobar79@gmail.com>2018-07-18 09:54:04 +0800
committerbrunobar79 <brunobar79@gmail.com>2018-07-18 09:54:04 +0800
commitaa5a987765677b4945e9eefe03cae8dcc93318cd (patch)
tree39a0c065a788d173a822c47be242e28e7f5f3983 /app/scripts/metamask-controller.js
parentcb53d5122cac179f430fb015974e80310c96a2f2 (diff)
downloadtangerine-wallet-browser-aa5a987765677b4945e9eefe03cae8dcc93318cd.tar
tangerine-wallet-browser-aa5a987765677b4945e9eefe03cae8dcc93318cd.tar.gz
tangerine-wallet-browser-aa5a987765677b4945e9eefe03cae8dcc93318cd.tar.bz2
tangerine-wallet-browser-aa5a987765677b4945e9eefe03cae8dcc93318cd.tar.lz
tangerine-wallet-browser-aa5a987765677b4945e9eefe03cae8dcc93318cd.tar.xz
tangerine-wallet-browser-aa5a987765677b4945e9eefe03cae8dcc93318cd.tar.zst
tangerine-wallet-browser-aa5a987765677b4945e9eefe03cae8dcc93318cd.zip
added some e2e tests
Diffstat (limited to 'app/scripts/metamask-controller.js')
-rw-r--r--app/scripts/metamask-controller.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/scripts/metamask-controller.js b/app/scripts/metamask-controller.js
index 575c591fa..dc5c24b1b 100644
--- a/app/scripts/metamask-controller.js
+++ b/app/scripts/metamask-controller.js
@@ -579,7 +579,7 @@ module.exports = class MetamaskController extends EventEmitter {
'Trezor Hardware'
)[0]
if (!keyring) {
- throw new Error('MetamaskController:checkHardwareStatus - Trezor Hardware keyring not found')
+ return false
}
return keyring.isUnlocked()
default: