| 573 | } |
| 574 | |
| 575 | bool json_to_txid(const char *buffer, const jsmntok_t *tok, |
| 576 | struct bitcoin_txid *txid) |
| 577 | { |
| 578 | return bitcoin_txid_from_hex(buffer + tok->start, |
| 579 | tok->end - tok->start, txid); |
| 580 | } |
| 581 | |
| 582 | bool json_to_outpoint(const char *buffer, const jsmntok_t *tok, |
| 583 | struct bitcoin_outpoint *op) |
no test coverage detected