mirror of
https://github.com/lightningnetwork/lnd.git
synced 2025-01-18 21:35:24 +01:00
lncli: add force flag to
This commit is contained in:
parent
23c157a07b
commit
ec046aec1b
@ -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…
Reference in New Issue
Block a user