comment about potential incorrect balance with contracts

pull/561/head
slowbackspace 5 years ago
parent c1fdada46d
commit 25548debd0

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

Loading…
Cancel
Save