cmd/lncli: fix inconsistent argument naming in queryRoutes

This commit is contained in:
Aljaz Ceru 2022-09-30 22:35:01 +02:00 committed by Oliver Gugger
parent 681e3ceede
commit d3a5307fc0
No known key found for this signature in database
GPG Key ID: 8E4256593F177720

View File

@ -1038,7 +1038,7 @@ var queryRoutesCommand = cli.Command{
Usage: "use mission control probabilities", Usage: "use mission control probabilities",
}, },
cli.Uint64Flag{ cli.Uint64Flag{
Name: "outgoing_chanid", Name: "outgoing_chan_id",
Usage: "(optional) the channel id of the channel " + Usage: "(optional) the channel id of the channel " +
"that must be taken to the first hop", "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")), FinalCltvDelta: int32(ctx.Int("final_cltv_delta")),
UseMissionControl: ctx.Bool("use_mc"), UseMissionControl: ctx.Bool("use_mc"),
CltvLimit: uint32(ctx.Uint64(cltvLimitFlag.Name)), CltvLimit: uint32(ctx.Uint64(cltvLimitFlag.Name)),
OutgoingChanId: ctx.Uint64("outgoing_chanid"), OutgoingChanId: ctx.Uint64("outgoing_chan_id"),
TimePref: ctx.Float64(timePrefFlag.Name), TimePref: ctx.Float64(timePrefFlag.Name),
IgnoredPairs: ignoredPairs, IgnoredPairs: ignoredPairs,
} }