Skip to content

Commit f1e0735

Browse files
Fix comment (#2930)
1 parent e09c830 commit f1e0735

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

eclair-core/src/main/scala/fr/acinq/eclair/wire/protocol/OfferTypes.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -220,7 +220,7 @@ object OfferTypes {
220220
tlv.tag <= UInt64(79) || (tlv.tag >= UInt64(1000000000) && tlv.tag <= UInt64(1999999999))
221221

222222
private def isInvoiceRequestTlv(tlv: GenericTlv): Boolean =
223-
// Offer TLVs are in the range [0, 159] or [1000000000, 2999999999].
223+
// Invoice request TLVs are in the range [0, 159] or [1000000000, 2999999999].
224224
tlv.tag <= UInt64(159) || (tlv.tag >= UInt64(1000000000) && tlv.tag <= UInt64(2999999999L))
225225

226226
def filterOfferFields(tlvs: TlvStream[InvoiceRequestTlv]): TlvStream[OfferTlv] =

0 commit comments

Comments
 (0)