From dfd7bdfe6a01d6ab5eb17f12b5e80126c55179ec Mon Sep 17 00:00:00 2001 From: JDonadio Date: Thu, 9 Nov 2017 17:06:52 -0300 Subject: [PATCH] fix save history array --- src/providers/wallet/wallet.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/providers/wallet/wallet.ts b/src/providers/wallet/wallet.ts index ac5643675..2dc61d4c7 100644 --- a/src/providers/wallet/wallet.ts +++ b/src/providers/wallet/wallet.ts @@ -392,7 +392,7 @@ export class WalletProvider { } private updateTxHistory_(wallet: any, txsFromLocal: any, txsFromServer?: any) { - let array = lodash.compact(txsFromLocal.concat(lodash.map(txsFromServer, 'res'))); + let array = txsFromLocal.concat(txsFromServer.res); let newHistory = lodash.uniqBy(array, (x: any) => { return x.txid; });