add tests
This commit is contained in:
parent
797da92d90
commit
de5772112f
3 changed files with 159 additions and 8 deletions
|
|
@ -51,6 +51,7 @@ angular.module('copayApp.controllers').controller('TransactionsController',
|
|||
var w = $rootScope.wallet;
|
||||
if (!w) return;
|
||||
|
||||
$scope.blockchain_txs = w.cached_txs || [];
|
||||
$scope.loading = true;
|
||||
w.getTransactionHistory(function(err, res) {
|
||||
if (err) throw err;
|
||||
|
|
@ -61,7 +62,7 @@ angular.module('copayApp.controllers').controller('TransactionsController',
|
|||
return;
|
||||
}
|
||||
|
||||
$scope.blockchain_txs = res;
|
||||
$scope.blockchain_txs = w.cached_txs = res;
|
||||
$scope.loading = false;
|
||||
});
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue