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

Function leaserates_set

plugins/funder.c:918–929  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

916}
917
918static struct command_result *
919leaserates_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
931static struct command_result *
932json_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