Browse Source

fundchannel: Remove the now disabled deprecated `satoshi` param

While we removed the `satoshi` param in #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.
travis-debug
Christian Decker 5 years ago
committed by Rusty Russell
parent
commit
a696c8417e
  1. 2
      plugins/fundchannel.c

2
plugins/fundchannel.c

@ -433,7 +433,7 @@ static void init(struct plugin *p,
static const struct plugin_command commands[] = { { static const struct plugin_command commands[] = { {
"fundchannel", "fundchannel",
"channels", "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.", "Only use outputs that have {minconf} confirmations.",
"Initiaties a channel open with node 'id'. Must " "Initiaties a channel open with node 'id'. Must "
"be connected to the node and have enough funds available at the requested minimum confirmation " "be connected to the node and have enough funds available at the requested minimum confirmation "

Loading…
Cancel
Save