| 595 | } |
| 596 | |
| 597 | bool json_to_txid(const char *buffer, const jsmntok_t *tok, |
| 598 | struct bitcoin_txid *txid) |
| 599 | { |
| 600 | return bitcoin_txid_from_hex(buffer + tok->start, |
| 601 | tok->end - tok->start, txid); |
| 602 | } |
| 603 | |
| 604 | bool json_to_bitcoin_blkid(const char *buffer, const jsmntok_t *tok, |
| 605 | struct bitcoin_blkid *blkid) |
no test coverage detected