mirror of
https://github.com/trezor/trezor-wallet
synced 2024-11-15 21:08:57 +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 = [];
|
||||
|
||||
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 = (
|
||||
state: State,
|
||||
device: TrezorDevice,
|
||||
|
Loading…
Reference in New Issue
Block a user