1
0
mirror of https://github.com/trezor/trezor-wallet synced 2024-11-28 03:08:30 +00:00

send account to blockchain subscribe method

This commit is contained in:
Szymon Lesisz 2018-11-26 15:49:08 +01:00
parent 1750bb41dc
commit 45583ac477

View File

@ -170,10 +170,9 @@ export const onNotification = (payload: any): PromiseAction<void> => async (disp
export const subscribe = (network: string): PromiseAction<void> => async (dispatch: Dispatch, getState: GetState): Promise<void> => {
const addresses: Array<string> = getState().accounts.filter(a => a.network === network).map(a => a.address); // eslint-disable-line no-unused-vars
const accounts: Array<string> = getState().accounts.filter(a => a.network === network).map(a => a.address); // eslint-disable-line no-unused-vars
await TrezorConnect.blockchainSubscribe({
// accounts: addresses,
accounts: [],
accounts,
coin: network,
});