channeldb+discovery: fetch timestamps from DB if required

This commit is contained in:
Elle Mouton committed 2023-12-11 09:12:05 +02:00
1 parent 50e17dab59
commit 0ad4ef373a
5 files changed
+228 -31

No files matched your search

+1 -1
View File
@@ -229,7 +229,7 @@ func (c *ChanSeries) FilterKnownChanIDs(chain chainhash.Hash,
func (c *ChanSeries) FilterChannelRange(chain chainhash.Hash,
startHeight, endHeight uint32) ([]channeldb.BlockChannelRange, error) {
return c.graph.FilterChannelRange(startHeight, endHeight)
return c.graph.FilterChannelRange(startHeight, endHeight, false)
}
// FetchChanAnns returns a full set of channel announcements as well as their