mirror of
https://github.com/lightningnetwork/lnd.git
synced 2025-06-03 11:39:52 +02: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",
|
Name: "failure",
|
||||||
Usage: "whether the routing history entry was a 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{
|
Pairs: []*routerrpc.PairHistory{
|
||||||
importResult,
|
importResult,
|
||||||
},
|
},
|
||||||
|
Force: ctx.IsSet("force"),
|
||||||
}
|
}
|
||||||
|
|
||||||
rpcCtx := context.Background()
|
rpcCtx := context.Background()
|
||||||
|
Loading…
x
Reference in New Issue
Block a user