mirror of
https://github.com/trezor/trezor-wallet
synced 2025-02-15 17:42:03 +00:00
remove unused function
This commit is contained in:
parent
42b7d6b3f0
commit
4862f8b737
@ -42,19 +42,6 @@ export type State = Array<Account>;
|
|||||||
|
|
||||||
const initialState: State = [];
|
const initialState: State = [];
|
||||||
|
|
||||||
export const findAccount = (
|
|
||||||
state: State,
|
|
||||||
index: number,
|
|
||||||
deviceState: string,
|
|
||||||
network: string
|
|
||||||
): ?Account =>
|
|
||||||
state.find(
|
|
||||||
a =>
|
|
||||||
(a.deviceState === deviceState || a.imported) &&
|
|
||||||
a.index === index &&
|
|
||||||
a.network === network
|
|
||||||
);
|
|
||||||
|
|
||||||
export const findDeviceAccounts = (
|
export const findDeviceAccounts = (
|
||||||
state: State,
|
state: State,
|
||||||
device: TrezorDevice,
|
device: TrezorDevice,
|
||||||
|
Loading…
Reference in New Issue
Block a user