Create-Join-Import

This commit is contained in:
Gustavo Maximiliano Cortez 2016-08-18 00:27:23 -03:00
commit 855b22a113
No known key found for this signature in database
GPG key ID: 15EDAD8D9F2EB1AF
10 changed files with 53 additions and 46 deletions

View file

@ -166,7 +166,7 @@ angular.module('copayApp.controllers').controller('createController',
ongoingProcess.set('creatingWallet', true);
$timeout(function() {
profileService.createWallet(opts, function(err, wallet) {
profileService.createWallet(opts, function(err, client) {
ongoingProcess.set('creatingWallet', false);
if (err) {
$log.warn(err);
@ -177,8 +177,8 @@ angular.module('copayApp.controllers').controller('createController',
return;
}
walletService.updateRemotePreferences(wallet, {}, function() {
$log.debug('Remote preferences saved for:' + wallet.walletId)
walletService.updateRemotePreferences(client, {}, function() {
$log.debug('Remote preferences saved for:' + client.credentials.walletId)
});