Merge pull request #3638 from matiu/feat/animation-when-new-tx

feat/animation-when-new-tx
This commit is contained in:
Gustavo Maximiliano Cortez 2015-12-10 12:53:40 -03:00
commit 8d4620cf74
3 changed files with 20 additions and 6 deletions

View file

@ -855,7 +855,6 @@ angular.module('copayApp.controllers').controller('indexController', function($r
fixTxsUnit(txsFromLocal);
function getNewTxs(newTxs, skip, i_cb) {
self.getTxsFromServer(client, skip, endingTxid, requestLimit, function(err, res, shouldContinue) {
if (err) return i_cb(err);
@ -882,6 +881,7 @@ angular.module('copayApp.controllers').controller('indexController', function($r
getNewTxs([], 0, function(err, txs) {
if (err) return cb(err);
var newHistory = lodash.compact(txs.concat(txsFromLocal));
$log.debug('Tx History synced. Total Txs: ' + newHistory.length);