diff --git a/src/js/services/profileService.js b/src/js/services/profileService.js index 74049e9f1..b574e2a93 100644 --- a/src/js/services/profileService.js +++ b/src/js/services/profileService.js @@ -338,7 +338,9 @@ angular.module('copayApp.services') if (w) { return cb(gettext('Wallet already in Copay' + ": ") + w.walletName); } - root.storeData(walletClient, opts.bwsurl, cb); + root.storeData(walletClient, opts.bwsurl, function(err){ + return cb(err, walletId); + }); }; root.importWallet = function(str, opts, cb) {