1
0
mirror of https://github.com/trezor/trezor-wallet synced 2025-02-15 01:22:01 +00:00

comment about potential incorrect balance with contracts

This commit is contained in:
slowbackspace 2019-05-17 17:17:46 +02:00
parent c1fdada46d
commit 25548debd0

View File

@ -141,6 +141,9 @@ export const onBlockMined = (network: string): PromiseAction<void> => async (
dispatch(Web3Actions.updateAccount(accounts[i], a, network));
} else {
// there are no new txs, just update block
// TODO: There still could be internal transactions as a result of contract
// If that's the case, account balance won't be updated
// Currently waiting for deprecating web3 and utilising new blockbook
dispatch(AccountsActions.update({ ...accounts[i], block: a.block }));
// HACK: since blockbook can't work with smart contracts for now