mirror of
https://github.com/ACINQ/eclair.git
synced 2024-11-19 01:43:22 +01:00
Fix comment (#2930)
This commit is contained in:
parent
e09c830f10
commit
f1e07353b9
@ -220,7 +220,7 @@ object OfferTypes {
|
||||
tlv.tag <= UInt64(79) || (tlv.tag >= UInt64(1000000000) && tlv.tag <= UInt64(1999999999))
|
||||
|
||||
private def isInvoiceRequestTlv(tlv: GenericTlv): Boolean =
|
||||
// Offer TLVs are in the range [0, 159] or [1000000000, 2999999999].
|
||||
// Invoice request TLVs are in the range [0, 159] or [1000000000, 2999999999].
|
||||
tlv.tag <= UInt64(159) || (tlv.tag >= UInt64(1000000000) && tlv.tag <= UInt64(2999999999L))
|
||||
|
||||
def filterOfferFields(tlvs: TlvStream[InvoiceRequestTlv]): TlvStream[OfferTlv] =
|
||||
|
Loading…
Reference in New Issue
Block a user