lightningd: deprecate setchannelfee, use setchannel in tests.

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
Changelog-Deprecated: JSON-RPC: `setchannelfee` (use `setchannel`).
This commit is contained in:
Rusty Russell
2022-03-21 11:28:28 +10:30
parent 66e264d6b3
commit 42f91ff2fa
6 changed files with 136 additions and 117 deletions

View File

@@ -2135,7 +2135,8 @@ static const struct json_command setchannelfee_command = {
"and a {ppm} (proportional per millionth) value. "
"If values for {base} or {ppm} are left out, defaults will be used. "
"{base} can also be defined in other units, for example '1sat'. "
"If {id} is 'all', the fees will be applied for all channels. "
"If {id} is 'all', the fees will be applied for all channels. ",
true /* deprecated */
};
AUTODATA(json_command, &setchannelfee_command);