FIX: default invoice expiry is 24h
This commit is contained in:
parent
b56064a7ba
commit
0f6a4d8cba
@ -267,7 +267,7 @@ export class User {
|
|||||||
}
|
}
|
||||||
|
|
||||||
invoice.amt = decoded.satoshis;
|
invoice.amt = decoded.satoshis;
|
||||||
invoice.expire_time = 3600;
|
invoice.expire_time = 3600 * 24;
|
||||||
// ^^^default; will keep for now. if we want to un-hardcode it - it should be among tags (`expire_time`)
|
// ^^^default; will keep for now. if we want to un-hardcode it - it should be among tags (`expire_time`)
|
||||||
invoice.timestamp = decoded.timestamp;
|
invoice.timestamp = decoded.timestamp;
|
||||||
invoice.type = 'user_invoice';
|
invoice.type = 'user_invoice';
|
||||||
|
Loading…
x
Reference in New Issue
Block a user