Skip to content

Commit

Permalink
hsmtool: remove hsm_secret passwords on cmdline support in `dumponcha…
Browse files Browse the repository at this point in the history
…indescriptors`.

Changelog-Removed: `hsmtool`: hsm_secret (ignored) on cmdline for dumponchaindescriptors (deprecated in v0.9.3)
Signed-off-by: Rusty Russell <[email protected]>
  • Loading branch information
rustyrussell committed Sep 12, 2022
1 parent 6cf3d47 commit 1a0f7dd
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions tools/hsmtool.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 1a0f7dd

Please sign in to comment.