discovery: start sending timestamps if requested

This commit is contained in:
Elle Mouton committed 2023-12-11 09:12:05 +02:00
1 parent 0ad4ef373a
commit 67df687f08
3 files changed
+35 -7

No files matched your search

+2 -1
View File
@@ -98,7 +98,8 @@ func (m *mockChannelGraphTimeSeries) FilterKnownChanIDs(chain chainhash.Hash,
return <-m.filterResp, nil
}
func (m *mockChannelGraphTimeSeries) FilterChannelRange(chain chainhash.Hash,
startHeight, endHeight uint32) ([]channeldb.BlockChannelRange, error) {
startHeight, endHeight uint32, withTimestamps bool) (
[]channeldb.BlockChannelRange, error) {
m.filterRangeReqs <- filterRangeReq{startHeight, endHeight}
reply := <-m.filterRangeResp