1
0
mirror of https://github.com/trezor/trezor-wallet synced 2024-11-14 04:19:09 +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';
dispatch(
AccountsActions.update({
networkType: 'ripple',
...a,
balance: toDecimalAmount(updatedAccount.balance, network.decimals),
availableBalance: toDecimalAmount(
@ -197,7 +198,7 @@ export const onNotification = (
),
block: updatedAccount.block,
sequence: updatedAccount.sequence,
reserve: '0',
reserve: updatedAccount.reserve,
empty,
})
);