mirror of
https://github.com/lightningnetwork/lnd.git
synced 2025-02-22 14:22:37 +01:00
lncli: add force flag to
This commit is contained in:
parent
23c157a07b
commit
ec046aec1b
1 changed files with 5 additions and 0 deletions
|
@ -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()
|
||||
|
|
Loading…
Add table
Reference in a new issue