mirror of
https://github.com/trezor/trezor-wallet
synced 2024-12-25 00:18:07 +00:00
fix for disappearing accounts balance after block is mined
This commit is contained in:
parent
34e00d392e
commit
c9b9359e70
@ -111,7 +111,7 @@ export const onBlockMined = (coinInfo: any): PromiseAction<void> => async (dispa
|
||||
dispatch( Web3Actions.updateAccount(accounts[i], a, network) )
|
||||
} else {
|
||||
// there are no new txs, just update block
|
||||
dispatch( AccountsActions.update( { ...accounts[i], ...a }) );
|
||||
dispatch( AccountsActions.update( { ...accounts[i], block: a.block }) );
|
||||
|
||||
// HACK: since blockbook can't work with smart contracts for now
|
||||
// try to update tokens balances added to this account using Web3
|
||||
|
Loading…
Reference in New Issue
Block a user