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:
3 files changed
-32
No files matched your search
@@ -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
|
||||
|
||||
Reference in new issue
Block a user