diff --git a/cmd/lncli/cmd_payments.go b/cmd/lncli/cmd_payments.go index ec2eebd9a..94512188b 100644 --- a/cmd/lncli/cmd_payments.go +++ b/cmd/lncli/cmd_payments.go @@ -1038,7 +1038,7 @@ var queryRoutesCommand = cli.Command{ Usage: "use mission control probabilities", }, cli.Uint64Flag{ - Name: "outgoing_chanid", + Name: "outgoing_chan_id", Usage: "(optional) the channel id of the channel " + "that must be taken to the first hop", }, @@ -1127,7 +1127,7 @@ func queryRoutes(ctx *cli.Context) error { FinalCltvDelta: int32(ctx.Int("final_cltv_delta")), UseMissionControl: ctx.Bool("use_mc"), CltvLimit: uint32(ctx.Uint64(cltvLimitFlag.Name)), - OutgoingChanId: ctx.Uint64("outgoing_chanid"), + OutgoingChanId: ctx.Uint64("outgoing_chan_id"), TimePref: ctx.Float64(timePrefFlag.Name), IgnoredPairs: ignoredPairs, }