From 486b999cae9dfcc86189bcb3f3396d8c35aedd2a Mon Sep 17 00:00:00 2001 From: Marco Polci Date: Tue, 8 Sep 2015 19:39:37 +0200 Subject: [PATCH] Bugfix: reference to undefined variable. --- src/js/services/profileService.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); }); }); })