1
0
mirror of https://github.com/kremalicious/metamask-extension.git synced 2024-12-23 09:52:26 +01:00
This commit is contained in:
brunobar79 2018-07-03 15:46:15 -04:00
parent 3837c2ddd7
commit 9d3f2435e5
2 changed files with 3 additions and 3 deletions

View File

@ -532,10 +532,10 @@ module.exports = class MetamaskController extends EventEmitter {
'Trezor Hardware'
)[0]
if (!keyring) {
keyring = await this.keyringController.addNewKeyring('Trezor Hardware')
keyring = await this.keyringController.addNewKeyring('Trezor Hardware')
}
const accounts = page === 1 ? await keyring.getNextPage() : await keyring.getPreviousPage()
const accounts = page === 1 ? await keyring.getNextPage() : await keyring.getPreviousPage()
this.accountTracker.syncWithAddresses(accounts.map(a => a.address))
return accounts

View File

@ -12,7 +12,7 @@ const ConnectHardwareForm = require('./connect-hardware')
const {
NEW_ACCOUNT_ROUTE,
IMPORT_ACCOUNT_ROUTE,
CONNECT_HARDWARE_ROUTE,
CONNECT_HARDWARE_ROUTE,
} = require('../../../routes')
class CreateAccountPage extends Component {