| 899 | } |
| 900 | |
| 901 | struct command_result *param_outpoint(struct command *cmd, |
| 902 | const char *name, |
| 903 | const char *buffer, |
| 904 | const jsmntok_t *tok, |
| 905 | struct bitcoin_outpoint **outp) |
| 906 | { |
| 907 | *outp = tal(cmd, struct bitcoin_outpoint); |
| 908 | if (json_to_outpoint(buffer, tok, *outp)) |
| 909 | return NULL; |
| 910 | return command_fail_badparam(cmd, name, buffer, tok, |
| 911 | "should be a txid:outnum"); |
| 912 | } |
| 913 | |
| 914 | struct command_result *param_bitcoin_address(struct command *cmd, |
| 915 | const char *name, |
nothing calls this directly
no test coverage detected