| 615 | } |
| 616 | |
| 617 | void json_add_sats(struct json_stream *result, |
| 618 | const char *fieldname, |
| 619 | struct amount_sat sat) |
| 620 | { |
| 621 | json_add_string(result, fieldname, take(fmt_amount_sat(NULL, sat))); |
| 622 | } |
| 623 | |
| 624 | void json_add_secret(struct json_stream *response, const char *fieldname, |
| 625 | const struct secret *secret) |
no test coverage detected