| 515 | } |
| 516 | |
| 517 | static struct command_result *param_outpoint(struct command *cmd, |
| 518 | const char *name, |
| 519 | const char *buffer, |
| 520 | const jsmntok_t *tok, |
| 521 | struct bitcoin_outpoint **outp) |
| 522 | { |
| 523 | *outp = tal(cmd, struct bitcoin_outpoint); |
| 524 | if (json_to_outpoint(buffer, tok, *outp)) |
| 525 | return NULL; |
| 526 | return command_fail_badparam(cmd, name, buffer, tok, |
| 527 | "should be a txid:outnum"); |
| 528 | } |
| 529 | |
| 530 | static struct command_result *param_feerate_range(struct command *cmd, |
| 531 | const char *name, |
nothing calls this directly
no test coverage detected