mirror of
https://github.com/aljazceru/lightning.git
synced 2025-12-24 01:24:26 +01:00
lightningd: use env var not cmdline to suppress backtrace.
We now set it up *before* parsing cmdline, so this is more convenient. Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
This commit is contained in:
committed by
Christian Decker
parent
ed9e580358
commit
6b9c525f35
@@ -298,9 +298,6 @@ static void dev_register_opts(struct lightningd *ld)
|
||||
NULL, ld, "File containing disconnection points");
|
||||
opt_register_arg("--dev-hsm-seed=<seed>", opt_set_hsm_seed,
|
||||
NULL, ld, "Hex-encoded seed for HSM");
|
||||
opt_register_noarg("--dev-no-backtrace", opt_set_bool,
|
||||
&dev_no_backtrace,
|
||||
"Disable backtrace (crashes under valgrind)");
|
||||
}
|
||||
#endif
|
||||
|
||||
|
||||
Reference in New Issue
Block a user