autopilot+autopilotrpc: ignore local channels if ignore_local_state set
This commit is contained in:
2 files changed
+30
-19
No files matched your search
@@ -180,7 +180,9 @@ func (s *Server) QueryScores(ctx context.Context, in *QueryScoresRequest) (
|
||||
}
|
||||
|
||||
// Query the heuristics.
|
||||
heuristicScores, err := s.manager.QueryHeuristics(nodes)
|
||||
heuristicScores, err := s.manager.QueryHeuristics(
|
||||
nodes, !in.IgnoreLocalState,
|
||||
)
|
||||
if err != nil {
|
||||
return nil, err
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user