| 646 | } |
| 647 | |
| 648 | static char *opt_force_bip32_seed(const char *optarg, struct lightningd *ld) |
| 649 | { |
| 650 | tal_free(ld->dev_force_bip32_seed); |
| 651 | ld->dev_force_bip32_seed = tal(ld, struct secret); |
| 652 | if (!hex_decode(optarg, strlen(optarg), |
| 653 | ld->dev_force_bip32_seed, |
| 654 | sizeof(*ld->dev_force_bip32_seed))) |
| 655 | return tal_fmt(tmpctx, "Unable to parse secret '%s'", optarg); |
| 656 | return NULL; |
| 657 | } |
| 658 | |
| 659 | static char *opt_force_tmp_channel_id(const char *optarg, struct lightningd *ld) |
| 660 | { |
nothing calls this directly
no test coverage detected