lnwire/query_short_chan_ids: assert sorted for plain encoding

This commit is contained in:
Conner Fromknecht committed 2019-11-20 01:57:36 -08:00
1 parent b03d8edcd9
commit 3cc235a349
3 files changed
+113 -11

No files matched your search

+1 -1
View File
@@ -64,7 +64,7 @@ func (c *ReplyChannelRange) Encode(w io.Writer, pver uint32) error {
return err
}
return encodeShortChanIDs(w, c.EncodingType, c.ShortChanIDs)
return encodeShortChanIDs(w, c.EncodingType, c.ShortChanIDs, false)
}
// MsgType returns the integer uniquely identifying this message type on the