Replaced a call to a function for a variable

This commit is contained in:
Matias Pando 2014-11-04 12:13:09 -03:00
commit b086cff940
4 changed files with 11 additions and 11 deletions

View file

@ -288,7 +288,6 @@ angular.module('copayApp.services')
w = w || $rootScope.wallet;
if (!w) return root.onErrorDigest();
if (!w.isReady()) return;
console.log('## Updating balance of:' + w.id)
w.balanceInfo = {};
var scope = root.isFocusedWallet(w.id) ? $rootScope : w.balanceInfo;