mirror of
https://github.com/pezkuwichain/pezkuwi-ui.git
synced 2026-04-22 19:38: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
|
||||
};
|
||||
|
||||
// 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 || env.isDevelopment())) {
|
||||
// we do not store dev or injected accounts (external/transient)
|
||||
if (!json.meta.isInjected && (!json.meta.isTesting || env.isDevelopment())) {
|
||||
store.set(keyCreator(address), json);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user