| 1373 | } |
| 1374 | |
| 1375 | static struct command_result * |
| 1376 | leaserates_set(struct command *cmd, |
| 1377 | const char *method, |
| 1378 | const char *buf, |
| 1379 | const jsmntok_t *result, |
| 1380 | struct funder_policy *policy) |
| 1381 | { |
| 1382 | struct json_stream *res; |
| 1383 | |
| 1384 | /* Ok, we updated lightningd with latest info */ |
| 1385 | res = jsonrpc_stream_success(cmd); |
| 1386 | json_add_policy(res, policy); |
| 1387 | return command_finished(cmd, res); |
| 1388 | } |
| 1389 | |
| 1390 | static struct command_result * |
| 1391 | json_funderupdate(struct command *cmd, |
nothing calls this directly
no test coverage detected