Merge pull request #3857 from kiwiidb/master

fix: incomplete comment about minFinalCLTVExpiry
This commit is contained in:
Olaoluwa Osuntokun 2019-12-20 17:05:28 -08:00 committed by GitHub
commit c9f39638b0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -144,7 +144,8 @@ type Invoice struct {
Destination *btcec.PublicKey
// minFinalCLTVExpiry is the value that the creator of the invoice
// expects to be used for the
// expects to be used for the CLTV expiry of the HTLC extended to it in
// the last hop.
//
// NOTE: This value is optional, and should be set to nil if the
// invoice creator doesn't have a strong requirement on the CLTV expiry