lnwire/query_short_chan_ids: assert sorted for plain encoding

This commit is contained in:
Conner Fromknecht
2019-11-20 01:57:36 -08:00
parent b03d8edcd9
commit 3cc235a349
3 changed files with 113 additions and 11 deletions

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