Merge pull request #360 from maraoz/optimize/many-addresses
Optimize for many addresses
This commit is contained in:
commit
eedfdcfaa1
2 changed files with 78 additions and 70 deletions
|
|
@ -101,7 +101,6 @@ angular.module('copay.controllerUtils')
|
|||
};
|
||||
|
||||
root.updateBalance = function(cb) {
|
||||
root.setSocketHandlers();
|
||||
$rootScope.balanceByAddr = {};
|
||||
var w = $rootScope.wallet;
|
||||
$rootScope.addrInfos = w.getAddressesInfo();
|
||||
|
|
@ -121,6 +120,7 @@ angular.module('copay.controllerUtils')
|
|||
$rootScope.$digest();
|
||||
if (cb) cb();
|
||||
});
|
||||
root.setSocketHandlers();
|
||||
};
|
||||
|
||||
root.updateTxs = function() {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue