| 636 | |
| 637 | |
| 638 | static char *opt_force_privkey(const char *optarg, struct lightningd *ld) |
| 639 | { |
| 640 | tal_free(ld->dev_force_privkey); |
| 641 | ld->dev_force_privkey = tal(ld, struct privkey); |
| 642 | if (!hex_decode(optarg, strlen(optarg), |
| 643 | ld->dev_force_privkey, sizeof(*ld->dev_force_privkey))) |
| 644 | return tal_fmt(tmpctx, "Unable to parse privkey '%s'", optarg); |
| 645 | return NULL; |
| 646 | } |
| 647 | |
| 648 | static char *opt_force_bip32_seed(const char *optarg, struct lightningd *ld) |
| 649 | { |
nothing calls this directly
no test coverage detected