start fixing tests

This commit is contained in:
Matias Alejo Garcia 2014-09-04 18:07:09 -03:00
commit b3ed2a2ea8
4 changed files with 89 additions and 52 deletions

View file

@ -20,7 +20,6 @@ WalletLock._keyFor = function(walletId) {
WalletLock.prototype._isLockedByOther = function(cb) {
var self = this;
console.log('[WalletLock.js.22]'); //TODO
this.storage.getGlobal(this.key, function(json) {
var wl = json ? JSON.parse(json) : null;
var t = wl ? (Date.now() - wl.expireTs) : false;