Merge pull request #5505 from ajp8164/bug/sync-storage-upgrade

Synchronize all storage upgrade.
This commit is contained in:
Gustavo Maximiliano Cortez 2017-01-24 12:54:48 -03:00 committed by GitHub
commit 901f8e9f57
2 changed files with 96 additions and 15 deletions

View file

@ -44,7 +44,7 @@ angular.module('copayApp.controllers').controller('bitpayCardIntroController', f
}
});
} else {
appIdentityService.getIdentity(bitpayService.getEnvironment(), function(err, appIdentity) {
appIdentityService.getIdentity(bitpayService.getEnvironment().network, function(err, appIdentity) {
if (err) popupService.showAlert(null, err);
else $log.info('App identity: OK');
});