channeldb+discovery: fetch timestamps from DB if required

This commit is contained in:
Elle Mouton
2023-09-20 10:24:41 +02:00
parent 50e17dab59
commit 0ad4ef373a
5 changed files with 228 additions and 31 deletions

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