mirror of
https://github.com/ElementsProject/lightning.git
synced 2025-01-18 21:35:11 +01:00
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,
|
||||
"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.");
|
||||
}
|
||||
|
@ -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…
Reference in New Issue
Block a user