autopilot/interface+agent: remove Select

This commit is contained in:
Johan T. Halseth committed 2018-12-06 14:26:28 +01:00
1 parent b3d315298c
commit 6130189d95
3 files changed
-198

No files matched your search

-6
View File
@@ -66,12 +66,6 @@ type directiveArg struct {
nodes map[NodeID]struct{}
}
func (m *mockHeuristic) Select(self *btcec.PublicKey, graph ChannelGraph,
amtToUse btcutil.Amount, numChans uint32,
skipChans map[NodeID]struct{}) ([]AttachmentDirective, error) {
return nil, nil
}
func (m *mockHeuristic) NodeScores(g ChannelGraph, chans []Channel,
fundsAvailable btcutil.Amount, nodes map[NodeID]struct{}) (
map[NodeID]*AttachmentDirective, error) {