From 97b7e0fca58e5993f05be6b9f462d48d8d0923be Mon Sep 17 00:00:00 2001 From: kiwiidb Date: Thu, 19 Dec 2019 22:24:09 +0100 Subject: [PATCH] fix: incomplete comment about minFinalCLTVExpiry --- zpay32/invoice.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/zpay32/invoice.go b/zpay32/invoice.go index 1677fa8d..420b57d6 100644 --- a/zpay32/invoice.go +++ b/zpay32/invoice.go @@ -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