Fix expireSecs ignored for anons (#447)
Co-authored-by: ekzyis <ek@stacker.news>
This commit is contained in:
parent
2e846af737
commit
107a7f9e77
|
@ -231,7 +231,7 @@ export default {
|
|||
let balanceLimit = BALANCE_LIMIT_MSATS
|
||||
let id = me?.id
|
||||
if (!me) {
|
||||
expirePivot = { minutes: 3 }
|
||||
expirePivot = { seconds: Math.min(expireSecs, 180) }
|
||||
invLimit = ANON_INV_PENDING_LIMIT
|
||||
balanceLimit = ANON_BALANCE_LIMIT_MSATS
|
||||
id = ANON_USER_ID
|
||||
|
|
Loading…
Reference in New Issue