| 1334 | } |
| 1335 | |
| 1336 | static struct command_result * |
| 1337 | leaserates_set(struct command *cmd, |
| 1338 | const char *method, |
| 1339 | const char *buf, |
| 1340 | const jsmntok_t *result, |
| 1341 | struct funder_policy *policy) |
| 1342 | { |
| 1343 | struct json_stream *res; |
| 1344 | |
| 1345 | /* Ok, we updated lightningd with latest info */ |
| 1346 | res = jsonrpc_stream_success(cmd); |
| 1347 | json_add_policy(res, policy); |
| 1348 | return command_finished(cmd, res); |
| 1349 | } |
| 1350 | |
| 1351 | static struct command_result * |
| 1352 | json_funderupdate(struct command *cmd, |
nothing calls this directly
no test coverage detected