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 balanceLimit = BALANCE_LIMIT_MSATS
|
||||||
let id = me?.id
|
let id = me?.id
|
||||||
if (!me) {
|
if (!me) {
|
||||||
expirePivot = { minutes: 3 }
|
expirePivot = { seconds: Math.min(expireSecs, 180) }
|
||||||
invLimit = ANON_INV_PENDING_LIMIT
|
invLimit = ANON_INV_PENDING_LIMIT
|
||||||
balanceLimit = ANON_BALANCE_LIMIT_MSATS
|
balanceLimit = ANON_BALANCE_LIMIT_MSATS
|
||||||
id = ANON_USER_ID
|
id = ANON_USER_ID
|
||||||
|
|
Loading…
Reference in New Issue