graph/db: thread context through NodeUpdatesInHorizon
This commit is contained in:
7 files changed
+20
-14
No files matched your search
@@ -181,7 +181,8 @@ func (c *ChanSeries) UpdatesInHorizon(chain chainhash.Hash,
|
||||
// update within the horizon as well. We send these second to
|
||||
// ensure that they follow any active channels they have.
|
||||
nodeAnnsInHorizon := c.graph.NodeUpdatesInHorizon(
|
||||
startTime, endTime, graphdb.WithIterPublicNodesOnly(),
|
||||
context.TODO(), startTime, endTime,
|
||||
graphdb.WithIterPublicNodesOnly(),
|
||||
)
|
||||
for nodeAnn, err := range nodeAnnsInHorizon {
|
||||
if err != nil {
|
||||
|
||||
Reference in new issue
Block a user