From d3a5307fc02c309d06e5cd426a976267b3a86e12 Mon Sep 17 00:00:00 2001 From: Aljaz Ceru Date: Fri, 30 Sep 2022 22:35:01 +0200 Subject: [PATCH] cmd/lncli: fix inconsistent argument naming in queryRoutes --- cmd/lncli/cmd_payments.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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, }