forked from MetaMask/eth-trezor-keyring
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
6868664
commit 2852c09
Showing
1 changed file
with
5 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -8,6 +8,10 @@ const keyringType = 'Trezor Hardware' | |
const pathBase = 'm' | ||
const MAX_INDEX = 1000 | ||
const DELAY_BETWEEN_POPUPS = 1000 | ||
const TREZOR_CONNECT_MANIFEST = { | ||
email: '[email protected]', | ||
appUrl: 'https://metamask.io', | ||
} | ||
|
||
class TrezorKeyring extends EventEmitter { | ||
constructor (opts = {}) { | ||
|
@@ -20,10 +24,7 @@ class TrezorKeyring extends EventEmitter { | |
this.unlockedAccount = 0 | ||
this.paths = {} | ||
this.deserialize(opts) | ||
TrezorConnect.manifest({ | ||
email: '[email protected]', | ||
appUrl: 'https://metamask.io', | ||
}) | ||
TrezorConnect.manifest(TREZOR_CONNECT_MANIFEST) | ||
} | ||
|
||
serialize () { | ||
|