| 916 | } |
| 917 | |
| 918 | static struct command_result * |
| 919 | leaserates_set(struct command *cmd, const char *buf, |
| 920 | const jsmntok_t *result, |
| 921 | struct funder_policy *policy) |
| 922 | { |
| 923 | struct json_stream *res; |
| 924 | |
| 925 | /* Ok, we updated lightningd with latest info */ |
| 926 | res = jsonrpc_stream_success(cmd); |
| 927 | json_add_policy(res, policy); |
| 928 | return command_finished(cmd, res); |
| 929 | } |
| 930 | |
| 931 | static struct command_result * |
| 932 | json_funderupdate(struct command *cmd, |
nothing calls this directly
no test coverage detected