diff options
author | brunobar79 <brunobar79@gmail.com> | 2018-07-10 08:54:47 +0800 |
---|---|---|
committer | brunobar79 <brunobar79@gmail.com> | 2018-07-10 08:54:47 +0800 |
commit | 85a4e39b052b8e0c9d277766c79d1a2b5459d934 (patch) | |
tree | 3bd321de51dcb2321532e5bcd3d0288665fc8f0f | |
parent | d3f793a44a94274c73e0ce770f34bb2e22cdbd5b (diff) | |
download | dexon-wallet-85a4e39b052b8e0c9d277766c79d1a2b5459d934.tar.gz dexon-wallet-85a4e39b052b8e0c9d277766c79d1a2b5459d934.tar.zst dexon-wallet-85a4e39b052b8e0c9d277766c79d1a2b5459d934.zip |
fix trezor label
-rw-r--r-- | app/scripts/metamask-controller.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/scripts/metamask-controller.js b/app/scripts/metamask-controller.js index 71a22f6e..bec02c3e 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)) { |