mirror of
https://github.com/pezkuwichain/pezkuwi-ui.git
synced 2026-06-14 09:01:03 +00:00
store hardware wallets (#431)
This commit is contained in:
@@ -42,8 +42,8 @@ export function genericSubject (keyCreator: (address: string) => string, withTes
|
|||||||
type
|
type
|
||||||
};
|
};
|
||||||
|
|
||||||
// we do not store dev accounts, injected or hardware (the latter two are external/transient)
|
// we do not store dev or injected accounts (external/transient)
|
||||||
if (!json.meta.isInjected && !json.meta.isHardware && (!json.meta.isTesting || env.isDevelopment())) {
|
if (!json.meta.isInjected && (!json.meta.isTesting || env.isDevelopment())) {
|
||||||
store.set(keyCreator(address), json);
|
store.set(keyCreator(address), json);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user