lnwire+discovery: rename ShortChannelIDEncoding to QueryEncoding

Since the the encoding can be used for multiple different fields, we
rename it here to be more generic.
This commit is contained in:
Elle Mouton committed 2023-12-11 09:12:04 +02:00
1 parent 341bae098c
commit c882223ead
11 files changed
+162 -40

No files matched your search

+1 -1
View File
@@ -33,7 +33,7 @@ type ReplyChannelRange struct {
// EncodingType is a signal to the receiver of the message that
// indicates exactly how the set of short channel ID's that follow have
// been encoded.
EncodingType ShortChanIDEncoding
EncodingType QueryEncoding
// ShortChanIDs is a slice of decoded short channel ID's.
ShortChanIDs []ShortChannelID