mirror of
https://github.com/lightningnetwork/lnd.git
synced 2025-03-11 01:29:19 +01:00
zpay32: use new DefaultInvoiceExpiry constant
This commit is contained in:
parent
e34bc3d645
commit
eae45f9ad9
1 changed files with 1 additions and 1 deletions
|
@ -548,7 +548,7 @@ func (invoice *Invoice) Expiry() time.Duration {
|
|||
}
|
||||
|
||||
// If no expiry is set for this invoice, default is 3600 seconds.
|
||||
return 3600 * time.Second
|
||||
return DefaultInvoiceExpiry
|
||||
}
|
||||
|
||||
// MinFinalCLTVExpiry returns the minimum final CLTV expiry delta as specified
|
||||
|
|
Loading…
Add table
Reference in a new issue