1
0
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:
slowbackspace 2019-04-12 16:40:14 +02:00
parent 42b7d6b3f0
commit 4862f8b737

View File

@ -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,