mirror of
https://github.com/pezkuwichain/pezkuwi-ui.git
synced 2026-11-01 16:31:10 +00:00
Add isHardware flags (#210)
* Add isHardware flags * Ledger connection options
This commit is contained in:
1 parent
03303a222e
commit
800700d50e
8 files changed
+52
-7
No files matched your search
@@ -41,7 +41,8 @@ export default function genericSubject (keyCreator: (address: string) => string,
|
||||
option: createOptionItem(address, json.meta.name)
|
||||
};
|
||||
|
||||
if (!json.meta.isInjected && (!json.meta.isTesting || development.isDevelopment())) {
|
||||
// we do not store dev accounts, injected or hardware (the latter two are external/transient)
|
||||
if (!json.meta.isInjected && !json.meta.isHardware && (!json.meta.isTesting || development.isDevelopment())) {
|
||||
store.set(keyCreator(address), json);
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user