adds errorCb, handles blocks

This commit is contained in:
Matias Alejo Garcia 2015-08-12 08:57:44 -03:00
commit fe07348a5a
3 changed files with 37 additions and 2 deletions

View file

@ -63,6 +63,9 @@ angular.module('copayApp.controllers').controller('createController',
if (err) {
$log.debug(err);
self.error = err;
$timeout(function() {
$rootScope.$apply();
});
}
else {
go.walletHome();