| 644 | } |
| 645 | |
| 646 | void json_add_sats(struct json_stream *result, |
| 647 | const char *fieldname, |
| 648 | struct amount_sat sat) |
| 649 | { |
| 650 | json_add_string(result, fieldname, take(fmt_amount_sat(NULL, sat))); |
| 651 | } |
| 652 | |
| 653 | void json_add_secret(struct json_stream *response, const char *fieldname, |
| 654 | const struct secret *secret) |
no test coverage detected