This commit is contained in:
Overtorment
2019-02-28 22:23:21 +00:00
parent ef9cc6d388
commit 1a740d6b06
4 changed files with 8 additions and 4 deletions

View File

@@ -24,7 +24,7 @@ export class Lock {
}
// success - got lock
await this._redis.expire(this._lock_key, 5 * 60);
await this._redis.expire(this._lock_key, 10 * 60);
// lock expires in 5 mins just for any case
return true;
}

View File

@@ -261,6 +261,7 @@ export class User {
/**
* User's onchain txs that are >= 3 confs
* Queries bitcoind RPC.
*
* @returns {Promise<Array>}
*/