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:
Olaoluwa Osuntokun committed 2017-10-04 20:46:08 -07:00
1 parent 81cd954cfc
commit e81689057a
2 files changed
-15

No files matched your search

-5
View File
@@ -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],