| 595 | struct splice_cmd *splice_cmd); |
| 596 | |
| 597 | static bool json_to_msat_to_sat(const char *buffer, const jsmntok_t *tok, |
| 598 | struct amount_sat *sat) |
| 599 | { |
| 600 | struct amount_msat msat; |
| 601 | |
| 602 | if (!json_to_msat(buffer, tok, &msat)) |
| 603 | return false; |
| 604 | return amount_msat_to_sat(sat, msat); |
| 605 | } |
| 606 | |
| 607 | static bool json_to_msat_to_sat_round_down(const char *buffer, |
| 608 | const jsmntok_t *tok, |
no test coverage detected