From 35dc6b49359012dd451707ff02b7d108b4db87b8 Mon Sep 17 00:00:00 2001 From: Szymon Lesisz Date: Fri, 1 Nov 2019 12:23:15 +0100 Subject: [PATCH] flow fix --- src/actions/ripple/BlockchainActions.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/actions/ripple/BlockchainActions.js b/src/actions/ripple/BlockchainActions.js index 50b62141..e481fe1f 100644 --- a/src/actions/ripple/BlockchainActions.js +++ b/src/actions/ripple/BlockchainActions.js @@ -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, }) );