Fix automatic lock of focused client on timeout

This commit is contained in:
Marco Polci 2016-01-08 11:34:19 +01:00
commit a33ca046d1

View file

@ -642,7 +642,7 @@ angular.module('copayApp.services')
}); });
} }
$timeout(function() { $timeout(function() {
if (fc.isPrivKeyEncrypted()) { if (fc.hasPrivKeyEncrypted()) {
$log.debug('Locking wallet automatically'); $log.debug('Locking wallet automatically');
root.lockFC(); root.lockFC();
}; };