graph/db: remove NodeRTx ForEachChannel method

This commit is contained in:
Elle Mouton committed 2025-08-06 09:52:10 +02:00
1 parent 699e335954
commit 15e17e1270
4 files changed
+10 -48

No files matched your search

-5
View File
@@ -20,11 +20,6 @@ import (
type NodeRTx interface {
// Node returns the raw information of the node.
Node() *models.LightningNode
// ForEachChannel can be used to iterate over the node's channels under
// the same transaction used to fetch the node.
ForEachChannel(func(*models.ChannelEdgeInfo, *models.ChannelEdgePolicy,
*models.ChannelEdgePolicy) error) error
}
// NodeTraverser is an abstract read only interface that provides information