routing: export MissionControl

This commit is contained in:
Johan T. Halseth committed 2019-05-27 20:18:58 +02:00
1 parent 3323800e02
commit adc4640f4f
4 files changed
+29 -29

No files matched your search

+2 -2
View File
@@ -349,7 +349,7 @@ type ChannelRouter struct {
// Each run will then take into account this set of pruned
// vertexes/edges to reduce route failure and pass on graph information
// gained to the next execution.
missionControl *missionControl
missionControl *MissionControl
// channelEdgeMtx is a mutex we use to make sure we process only one
// ChannelEdgePolicy at a time for a given channelID, to ensure
@@ -392,7 +392,7 @@ func New(cfg Config) (*ChannelRouter, error) {
quit: make(chan struct{}),
}
r.missionControl = newMissionControl(
r.missionControl = NewMissionControl(
cfg.Graph, selfNode, cfg.QueryBandwidth,
)