mirror of
https://github.com/ElementsProject/lightning.git
synced 2025-02-21 14:24:09 +01:00
doc: Fixed two small mistakes in the getroute
documentation
Two arguments were flipped and riskfactor was missing in the error message returned from the JSON.
This commit is contained in:
parent
26d4042436
commit
51a22c4274
2 changed files with 2 additions and 2 deletions
|
@ -217,7 +217,7 @@ static void json_getroute(struct command *cmd,
|
|||
"msatoshi", &msatoshitok,
|
||||
"riskfactor", &riskfactortok,
|
||||
NULL)) {
|
||||
command_fail(cmd, "Need id and msatoshi");
|
||||
command_fail(cmd, "Need id, msatoshi and riskfactor");
|
||||
return;
|
||||
}
|
||||
|
||||
|
|
|
@ -9,7 +9,7 @@ lightning-getroute - Protocol for routing a payment.
|
|||
|
||||
SYNOPSIS
|
||||
--------
|
||||
*getroute* 'msatoshi' 'id' 'riskfactor'
|
||||
*getroute* 'id' 'msatoshi' 'riskfactor'
|
||||
|
||||
DESCRIPTION
|
||||
-----------
|
||||
|
|
Loading…
Add table
Reference in a new issue