autopilot/interface: remove NeedMoreChans from AttachmentHeuristic

Since the agent is now querying the constraints directly, NeedMoreChans
is no longer needed on the heuristic.
This commit is contained in:
Johan T. Halseth committed 2019-01-08 10:10:59 +01:00
1 parent fbfc9a53af
commit d0c4e253c6
3 files changed
-32

No files matched your search

-5
View File
@@ -74,11 +74,6 @@ type mockHeuristic struct {
quit chan struct{}
}
func (m *mockHeuristic) NeedMoreChans(chans []Channel,
balance btcutil.Amount) (btcutil.Amount, uint32, bool) {
return 0, 0, false
}
type directiveArg struct {
graph ChannelGraph
amt btcutil.Amount