Merge pull request #3751 from mpolci/fix-auto-lock-client

Fix automatic lock of focused client on timeout
This commit is contained in:
Matias Alejo Garcia 2016-01-12 11:20:23 -03:00
commit 36a13746eb

View file

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