Add a pre-generated address to the shared branch

This commit is contained in:
Yemel Jardi 2014-07-31 16:13:27 -03:00
commit fdabdc64fe
5 changed files with 18 additions and 7 deletions

View file

@ -185,13 +185,14 @@ angular.module('copayApp.services')
root.updateAddressList = function() {
var w = $rootScope.wallet;
if (w)
if (w && w.isReady())
$rootScope.addrInfos = w.getAddressesInfo();
};
root.updateBalance = function(cb) {
var w = $rootScope.wallet;
if (!w) return root.onErrorDigest();
if (!w.isReady()) return;
$rootScope.balanceByAddr = {};
$rootScope.updatingBalance = true;