zpay32: use new DefaultInvoiceExpiry constant

This commit is contained in:
Olaoluwa Osuntokun 2019-12-13 19:54:37 -08:00
parent e34bc3d645
commit eae45f9ad9
No known key found for this signature in database
GPG Key ID: BC13F65E2DC84465

@ -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