From a696c8417edcf622064a5bdd3ed855f030d1de2d Mon Sep 17 00:00:00 2001 From: Christian Decker Date: Mon, 6 Apr 2020 11:50:41 +0200 Subject: [PATCH] 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. --- plugins/fundchannel.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/fundchannel.c b/plugins/fundchannel.c index 9bf570613..324c0e316 100644 --- a/plugins/fundchannel.c +++ b/plugins/fundchannel.c @@ -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 "