fix history cache
This commit is contained in:
parent
583e0a560c
commit
968dea6eb1
2 changed files with 3 additions and 3 deletions
|
|
@ -421,8 +421,8 @@ angular.module('copayApp.services').factory('walletService', function($log, $tim
|
|||
var endingTxid = confirmedTxs[0] ? confirmedTxs[0].txid : null;
|
||||
var endingTs = confirmedTxs[0] ? confirmedTxs[0].time : null;
|
||||
|
||||
|
||||
// First update
|
||||
progressFn(txsFromLocal);
|
||||
wallet.completeHistory = txsFromLocal;
|
||||
|
||||
function getNewTxs(newTxs, skip, cb) {
|
||||
|
|
@ -431,7 +431,7 @@ angular.module('copayApp.services').factory('walletService', function($log, $tim
|
|||
|
||||
newTxs = newTxs.concat(processNewTxs(wallet, lodash.compact(res)));
|
||||
|
||||
progressFn(newTxs);
|
||||
progressFn(newTxs.concat(txsFromLocal));
|
||||
|
||||
skip = skip + requestLimit;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue