1
0
mirror of https://github.com/trezor/trezor-wallet synced 2024-11-24 01:08:27 +00:00

getBanalce on every block

This commit is contained in:
Szymon Lesisz 2018-05-09 16:36:39 +02:00
parent eaa6e19050
commit 7de3667e42

View File

@ -179,13 +179,13 @@ export function init(instance: ?Web3, coinIndex: number = 0): AsyncAction {
nonce
});
dispatch( getBalance(account) );
// dispatch( getBalance(account) );
// TODO: check if nonce was updated,
// update tokens balance,
// update account balance,
// update pending transactions
}
dispatch( getBalance(account) );
// dispatch( getNonce(account) );
}