lightningd: rename --deprecated-apis to --allow-deprecated-apis.
Suggested-byL practicalswift Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
This commit is contained in:
parent
0c9d29065c
commit
4f1dc91ba5
|
@ -271,7 +271,8 @@ static void config_register_opts(struct lightningd *ld)
|
||||||
ld,
|
ld,
|
||||||
"Select the network parameters (bitcoin, testnet,"
|
"Select the network parameters (bitcoin, testnet,"
|
||||||
" regtest, or litecoin)");
|
" 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,
|
&deprecated_apis,
|
||||||
"Enable deprecated options, JSONRPC commands, fields, etc.");
|
"Enable deprecated options, JSONRPC commands, fields, etc.");
|
||||||
}
|
}
|
||||||
|
|
|
@ -249,7 +249,7 @@ class LightningD(TailableProc):
|
||||||
'--bitcoin-datadir={}'.format(bitcoin_dir),
|
'--bitcoin-datadir={}'.format(bitcoin_dir),
|
||||||
'--lightning-dir={}'.format(lightning_dir),
|
'--lightning-dir={}'.format(lightning_dir),
|
||||||
'--port={}'.format(port),
|
'--port={}'.format(port),
|
||||||
'--deprecated-apis=false',
|
'--allow-deprecated-apis=false',
|
||||||
'--override-fee-rates=15000/7500/1000',
|
'--override-fee-rates=15000/7500/1000',
|
||||||
'--network=regtest',
|
'--network=regtest',
|
||||||
'--ignore-fee-limits=false'
|
'--ignore-fee-limits=false'
|
||||||
|
|
Loading…
Reference in New Issue