mirror of
https://github.com/lightningnetwork/lnd.git
synced 2025-06-28 09:45:25 +02:00
cmd/lncli: fix inconsistent argument naming in queryRoutes
This commit is contained in:
parent
681e3ceede
commit
d3a5307fc0
@ -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,
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user