discovery: adhere to proper channel chunk splitting for ReplyChannelRange

This commit is contained in:
Wilmer Paulino committed 2020-12-08 15:18:07 -08:00
1 parent c5fc7334a4
commit a4f33ae63c
7 files changed
+340 -145

No files matched your search

+1
View File
@@ -426,6 +426,7 @@ func (m *SyncManager) createGossipSyncer(peer lnpeer.Peer) *GossipSyncer {
maxUndelayedQueryReplies: DefaultMaxUndelayedQueryReplies,
delayedQueryReplyInterval: DefaultDelayedQueryReplyInterval,
bestHeight: m.cfg.BestHeight,
maxQueryChanRangeReplies: maxQueryChanRangeReplies,
})
// Gossip syncers are initialized by default in a PassiveSync type