mirror of
https://github.com/aljazceru/lightning.git
synced 2025-12-19 07:04:22 +01:00
hsmtool: remove hsm_secret passwords on cmdline support in dumponchaindescriptors.
Changelog-Removed: `hsmtool`: hsm_secret (ignored) on cmdline for dumponchaindescriptors (deprecated in v0.9.3) Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
This commit is contained in:
@@ -719,11 +719,6 @@ int main(int argc, char *argv[])
|
||||
|
||||
if (argc > 3)
|
||||
net = argv[3];
|
||||
/* Previously, we accepted hsm_secret passwords on the command line.
|
||||
* This shifted the location of the network parameter.
|
||||
* TODO: remove this 3 releases after v0.9.3 */
|
||||
if (deprecated_apis && argc > 4)
|
||||
net = argv[4];
|
||||
|
||||
if (net && streq(net, "testnet"))
|
||||
is_testnet = true;
|
||||
|
||||
Reference in New Issue
Block a user