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

Function unreserve_done

plugins/funder.c:75–89  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

73}
74
75static struct command_result *
76unreserve_done(struct command *aux_cmd,
77 const char *method,
78 const char *buf,
79 const jsmntok_t *result,
80 struct pending_open *open)
81{
82 plugin_log(open->p, LOG_DBG,
83 "`unreserveinputs` for channel %s completed. %.*s",
84 fmt_channel_id(tmpctx, &open->channel_id),
85 json_tok_full_len(result),
86 json_tok_full(buf, result));
87
88 return aux_command_done(aux_cmd);
89}
90
91/* Frees open (eventually, in unreserve_done callback) */
92static struct command_result *unreserve_psbt(struct command *cmd,

Callers

nothing calls this directly

Calls 5

aux_command_doneFunction · 0.85
plugin_logFunction · 0.70
fmt_channel_idFunction · 0.50
json_tok_full_lenFunction · 0.50
json_tok_fullFunction · 0.50

Tested by

no test coverage detected