mirror of
https://github.com/trezor/trezor-wallet
synced 2025-07-04 13:52:38 +00:00
flow fix
This commit is contained in:
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…
Reference in New Issue
Block a user