graphdb: pass context to ChannelView

This commit is contained in:
Elle Mouton committed 2026-02-25 16:11:46 +02:00
1 parent 7dbaa691c4
commit 9f855175d5
6 files changed
+10 -13

No files matched your search

+1 -1
View File
@@ -4180,7 +4180,7 @@ func (e *EdgePoint) String() string {
// within the known channel graph. The set of UTXO's (along with their scripts)
// returned are the ones that need to be watched on chain to detect channel
// closes on the resident blockchain.
func (c *KVStore) ChannelView() ([]EdgePoint, error) {
func (c *KVStore) ChannelView(_ context.Context) ([]EdgePoint, error) {
var edgePoints []EdgePoint
if err := kvdb.View(c.db, func(tx kvdb.RTx) error {
// We're going to iterate over the entire channel index, so