aboutsummaryrefslogtreecommitdiffstats
path: root/app/scripts/metamask-controller.js
diff options
context:
space:
mode:
authorbrunobar79 <brunobar79@gmail.com>2018-07-10 08:54:47 +0800
committerbrunobar79 <brunobar79@gmail.com>2018-07-10 08:54:47 +0800
commit85a4e39b052b8e0c9d277766c79d1a2b5459d934 (patch)
tree3bd321de51dcb2321532e5bcd3d0288665fc8f0f /app/scripts/metamask-controller.js
parentd3f793a44a94274c73e0ce770f34bb2e22cdbd5b (diff)
downloadtangerine-wallet-browser-85a4e39b052b8e0c9d277766c79d1a2b5459d934.tar
tangerine-wallet-browser-85a4e39b052b8e0c9d277766c79d1a2b5459d934.tar.gz
tangerine-wallet-browser-85a4e39b052b8e0c9d277766c79d1a2b5459d934.tar.bz2
tangerine-wallet-browser-85a4e39b052b8e0c9d277766c79d1a2b5459d934.tar.lz
tangerine-wallet-browser-85a4e39b052b8e0c9d277766c79d1a2b5459d934.tar.xz
tangerine-wallet-browser-85a4e39b052b8e0c9d277766c79d1a2b5459d934.tar.zst
tangerine-wallet-browser-85a4e39b052b8e0c9d277766c79d1a2b5459d934.zip
fix trezor label
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 71a22f6ec..bec02c3ed 100644
--- a/app/scripts/metamask-controller.js
+++ b/app/scripts/metamask-controller.js
@@ -579,7 +579,7 @@ module.exports = class MetamaskController extends EventEmitter {
const keyState = await keyringController.addNewAccount(keyring)
const newAccounts = await keyringController.getAccounts()
// Assuming the trezor account is the last one
- const trezorAccount = newAccounts[newAccounts.length -1]
+ const trezorAccount = newAccounts[newAccounts.length - 1]
this.preferencesController.setAddresses(newAccounts)
newAccounts.forEach(address => {
if (!oldAccounts.includes(address)) {