Browse Source

lightningd: rename --deprecated-apis to --allow-deprecated-apis.

Suggested-byL practicalswift
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
ppa-0.6.1
Rusty Russell 7 years ago
parent
commit
4f1dc91ba5
  1. 3
      lightningd/options.c
  2. 2
      tests/utils.py

3
lightningd/options.c

@ -271,7 +271,8 @@ static void config_register_opts(struct lightningd *ld)
ld,
"Select the network parameters (bitcoin, testnet,"
" regtest, or litecoin)");
opt_register_arg("--deprecated-apis", opt_set_bool_arg, opt_show_bool,
opt_register_arg("--allow-deprecated-apis",
opt_set_bool_arg, opt_show_bool,
&deprecated_apis,
"Enable deprecated options, JSONRPC commands, fields, etc.");
}

2
tests/utils.py

@ -249,7 +249,7 @@ class LightningD(TailableProc):
'--bitcoin-datadir={}'.format(bitcoin_dir),
'--lightning-dir={}'.format(lightning_dir),
'--port={}'.format(port),
'--deprecated-apis=false',
'--allow-deprecated-apis=false',
'--override-fee-rates=15000/7500/1000',
'--network=regtest',
'--ignore-fee-limits=false'

Loading…
Cancel
Save