| 548 | } |
| 549 | |
| 550 | bool json_to_msat(const char *buffer, const jsmntok_t *tok, |
| 551 | struct amount_msat *msat) |
| 552 | { |
| 553 | return parse_amount_msat(msat, |
| 554 | buffer + tok->start, tok->end - tok->start); |
| 555 | } |
| 556 | |
| 557 | bool json_to_sat(const char *buffer, const jsmntok_t *tok, |
| 558 | struct amount_sat *sat) |
no test coverage detected