graph/db+autopilot: remove NodeRTx FetchNode method

In this commit, we remove the need for the NodeRTx interface to have the
FetchNode method on it.
This commit is contained in:
Elle Mouton committed 2025-08-05 09:59:13 +02:00
1 parent 70b8c8ec78
commit ae566744c4
5 files changed
+1 -55

No files matched your search

-6
View File
@@ -25,12 +25,6 @@ type NodeRTx interface {
// the same transaction used to fetch the node.
ForEachChannel(func(*models.ChannelEdgeInfo, *models.ChannelEdgePolicy,
*models.ChannelEdgePolicy) error) error
// FetchNode fetches the node with the given pub key under the same
// transaction used to fetch the current node. The returned node is also
// a NodeRTx and any operations on that NodeRTx will also be done under
// the same transaction.
FetchNode(node route.Vertex) (NodeRTx, error)
}
// NodeTraverser is an abstract read only interface that provides information