| 536 | } |
| 537 | |
| 538 | bool json_to_pubkey(const char *buffer, const jsmntok_t *tok, |
| 539 | struct pubkey *pubkey) |
| 540 | { |
| 541 | return pubkey_from_hexstr(buffer + tok->start, |
| 542 | tok->end - tok->start, pubkey); |
| 543 | } |
| 544 | |
| 545 | bool json_to_msat(const char *buffer, const jsmntok_t *tok, |
| 546 | struct amount_msat *msat) |
no test coverage detected