diff --git a/src/js/services/profileService.js b/src/js/services/profileService.js index d3bb65c1f..0afbef3b8 100644 --- a/src/js/services/profileService.js +++ b/src/js/services/profileService.js @@ -243,7 +243,7 @@ angular.module('copayApp.services') root.setAndStoreFocus(walletClient.credentials.walletId, function() { storageService.storeProfile(root.profile, function(err) { - return cb(null, secret); + return cb(null, opts.secret); }); }); })