pull/615/head
Szymon Lesisz 5 years ago
parent e41015b630
commit 35dc6b4935

@ -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,
}) })
); );

Loading…
Cancel
Save