| 1655 | } |
| 1656 | |
| 1657 | static bool jsonfmt_amount_sat(struct command *cmd, |
| 1658 | struct json_stream *js, |
| 1659 | const char *fieldname, |
| 1660 | struct amount_sat *sats) |
| 1661 | { |
| 1662 | /* We do not expose raw numbers for sats fields: raw numbers |
| 1663 | * in our interface means MSAT! */ |
| 1664 | json_add_str_fmt(js, fieldname, "%"PRIu64"sat", sats->satoshis /* Raw: fmt */); |
| 1665 | return true; |
| 1666 | } |
| 1667 | |
| 1668 | static char *option_lease_fee_base(struct command *cmd, const char *arg, |
| 1669 | bool check_only, |
nothing calls this directly
no test coverage detected