Skip to content

Commit

Permalink
fundchannel: Remove the now disabled deprecated satoshi param
Browse files Browse the repository at this point in the history
While we removed the `satoshi` param in ElementsProject#3603 it appears that the
`fundchannel` plugin was still passing it to the `fundchannel_start`
call. This fixes up the help text. Notice that technically the help text
changes the param name, but since it was internally always called `amount`
this change doesn't break the API, the help was just wrong.
  • Loading branch information
cdecker committed Apr 9, 2020
1 parent e0f981e commit ccf9781
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion plugins/fundchannel.c
Original file line number Diff line number Diff line change
Expand Up @@ -433,7 +433,7 @@ static void init(struct plugin *p,
static const struct plugin_command commands[] = { {
"fundchannel",
"channels",
"Fund channel with {id} using {satoshi} (or 'all'), at optional {feerate}. "
"Fund channel with {id} using {amount} (or 'all'), at optional {feerate}. "
"Only use outputs that have {minconf} confirmations.",
"Initiaties a channel open with node 'id'. Must "
"be connected to the node and have enough funds available at the requested minimum confirmation "
Expand Down

0 comments on commit ccf9781

Please sign in to comment.