withdraw: Swap 'satoshi' and 'destination' params to match online help.

This commit is contained in:
Filipe Farinha 2018-01-17 01:43:09 +08:00 committed by Christian Decker
parent 710e91f255
commit b13c65dacb

View File

@ -306,7 +306,7 @@ static void json_withdraw(struct command *cmd,
static const struct json_command withdraw_command = { static const struct json_command withdraw_command = {
"withdraw", "withdraw",
json_withdraw, json_withdraw,
"Send {satoshi} (or 'all') to the {destination} address via Bitcoin transaction", "Send to {destination} address {satoshi} (or 'all') amount via Bitcoin transaction",
"Returns the withdrawal transaction ID" "Returns the withdrawal transaction ID"
}; };
AUTODATA(json_command, &withdraw_command); AUTODATA(json_command, &withdraw_command);