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
2017-10-04 19:35:10 -07:00
parent 81cd954cfc
commit e81689057a
2 changed files with 0 additions and 15 deletions

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],