MCPcopy Create free account
hub / github.com/ElementsProject/lightning / leaserates_set

Function leaserates_set

plugins/funder.c:1375–1388  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1373}
1374
1375static struct command_result *
1376leaserates_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
1390static struct command_result *
1391json_funderupdate(struct command *cmd,

Callers

nothing calls this directly

Calls 3

json_add_policyFunction · 0.85
jsonrpc_stream_successFunction · 0.70
command_finishedFunction · 0.70

Tested by

no test coverage detected