lncli: add force flag to

This commit is contained in:
Andras Banki-Horvath 2022-01-19 17:06:12 +01:00
parent 23c157a07b
commit ec046aec1b
No known key found for this signature in database
GPG Key ID: 80E5375C094198D8

View File

@ -24,6 +24,10 @@ var importMissionControlCommand = cli.Command{
Name: "failure",
Usage: "whether the routing history entry was a failure",
},
cli.BoolFlag{
Name: "force",
Usage: "whether to force the history entry import",
},
},
}
@ -86,6 +90,7 @@ func importMissionControl(ctx *cli.Context) error {
Pairs: []*routerrpc.PairHistory{
importResult,
},
Force: ctx.IsSet("force"),
}
rpcCtx := context.Background()