1
0
mirror of https://github.com/trezor/trezor-wallet synced 2025-07-04 05:42:34 +00:00
This commit is contained in:
Szymon Lesisz 2019-11-01 12:23:15 +01:00
parent e41015b630
commit 35dc6b4935

View File

@ -189,6 +189,7 @@ export const onNotification = (
const empty = updatedAccount.sequence <= 0 && updatedAccount.balance === '0'; const empty = updatedAccount.sequence <= 0 && updatedAccount.balance === '0';
dispatch( dispatch(
AccountsActions.update({ AccountsActions.update({
networkType: 'ripple',
...a, ...a,
balance: toDecimalAmount(updatedAccount.balance, network.decimals), balance: toDecimalAmount(updatedAccount.balance, network.decimals),
availableBalance: toDecimalAmount( availableBalance: toDecimalAmount(
@ -197,7 +198,7 @@ export const onNotification = (
), ),
block: updatedAccount.block, block: updatedAccount.block,
sequence: updatedAccount.sequence, sequence: updatedAccount.sequence,
reserve: '0', reserve: updatedAccount.reserve,
empty, empty,
}) })
); );