Fix unlockUntil

This commit is contained in:
Gustavo Maximiliano Cortez 2017-04-19 14:53:36 -03:00
commit 6c380c5187
No known key found for this signature in database
GPG key ID: 15EDAD8D9F2EB1AF

View file

@ -1206,6 +1206,7 @@ angular.module('copayApp').config(function(historicLogProvider, $provide, $logPr
if (onResume) {
var now = Math.floor(Date.now() / 1000);
if (now < openURLService.unlockUntil) {
openURLService.unlockUntil = null;
$log.debug('Skip startup locking');
return;
}