lazy connect

This commit is contained in:
Matias Alejo Garcia 2014-09-09 13:45:50 -03:00
commit c45495eeff
4 changed files with 91 additions and 58 deletions

View file

@ -312,7 +312,7 @@ angular.module('copayApp.services')
var allAddrs = $rootScope.addrInfos;
var newAddrs = [];
for (var i in allAddrs) {
for:(var i in allAddrs) {
var a = allAddrs[i];
if (!currentAddrs[a.addressStr] && !a.isChange)
newAddrs.push(a.addressStr);