File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed
Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -62,7 +62,7 @@ type RouterClient interface {
6262
6363 // ImportMissionControl imports a set of pathfinding results to lnd.
6464 ImportMissionControl (ctx context.Context ,
65- entries []MissionControlEntry ) error
65+ entries []MissionControlEntry , force bool ) error
6666
6767 // ResetMissionControl resets the Mission Control state of lnd.
6868 ResetMissionControl (ctx context.Context ) error
@@ -950,13 +950,14 @@ func (r *routerClient) QueryMissionControl(ctx context.Context) (
950950// ImportMissionControl imports a set of pathfinding results to mission control.
951951// These results are not persisted across restarts.
952952func (r * routerClient ) ImportMissionControl (ctx context.Context ,
953- entries []MissionControlEntry ) error {
953+ entries []MissionControlEntry , force bool ) error {
954954
955955 rpcCtx , cancel := context .WithTimeout (ctx , r .timeout )
956956 defer cancel ()
957957
958958 req := & routerrpc.XImportMissionControlRequest {
959959 Pairs : make ([]* routerrpc.PairHistory , len (entries )),
960+ Force : force ,
960961 }
961962
962963 for i , entry := range entries {
You can’t perform that action at this time.
0 commit comments