discovery+routing: remove DeleteEdge from ChannelGraphSource interface
This commit removes the recently added DeleteEdge method from the ChannelGraphSource interface as it’s no longer needed.
This commit is contained in:
2 files changed
-15
No files matched your search
@@ -135,11 +135,6 @@ func (r *mockGraphSource) AddEdge(info *channeldb.ChannelEdgeInfo) error {
|
||||
return nil
|
||||
}
|
||||
|
||||
func (r *mockGraphSource) DeleteEdge(info *channeldb.ChannelEdgeInfo) error {
|
||||
delete(r.infos, info.ChannelID)
|
||||
return nil
|
||||
}
|
||||
|
||||
func (r *mockGraphSource) UpdateEdge(edge *channeldb.ChannelEdgePolicy) error {
|
||||
r.edges[edge.ChannelID] = append(
|
||||
r.edges[edge.ChannelID],
|
||||
|
||||
Reference in new issue
Block a user