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:
Rusty Russell 2022-09-10 11:37:31 +09:30
parent 6cf3d47505
commit 1a0f7ddb0d

View file

@ -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;