From a33ca046d1bc42b080ac34dc779ebb73eac3a1b6 Mon Sep 17 00:00:00 2001 From: Marco Polci Date: Fri, 8 Jan 2016 11:34:19 +0100 Subject: [PATCH] Fix automatic lock of focused client on timeout --- 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 40bb3260f..0d44b5645 100644 --- a/src/js/services/profileService.js +++ b/src/js/services/profileService.js @@ -642,7 +642,7 @@ angular.module('copayApp.services') }); } $timeout(function() { - if (fc.isPrivKeyEncrypted()) { + if (fc.hasPrivKeyEncrypted()) { $log.debug('Locking wallet automatically'); root.lockFC(); };