| 541 | } |
| 542 | |
| 543 | bool json_to_pubkey(const char *buffer, const jsmntok_t *tok, |
| 544 | struct pubkey *pubkey) |
| 545 | { |
| 546 | return pubkey_from_hexstr(buffer + tok->start, |
| 547 | tok->end - tok->start, pubkey); |
| 548 | } |
| 549 | |
| 550 | bool json_to_msat(const char *buffer, const jsmntok_t *tok, |
| 551 | struct amount_msat *msat) |
no test coverage detected