| 543 | } |
| 544 | |
| 545 | bool json_to_msat(const char *buffer, const jsmntok_t *tok, |
| 546 | struct amount_msat *msat) |
| 547 | { |
| 548 | return parse_amount_msat(msat, |
| 549 | buffer + tok->start, tok->end - tok->start); |
| 550 | } |
| 551 | |
| 552 | bool json_to_sat(const char *buffer, const jsmntok_t *tok, |
| 553 | struct amount_sat *sat) |
nothing calls this directly
no test coverage detected